/[smeserver]/rpms/smeserver-qpsmtpd/sme8/qpsmtpd-0.40-clamav_fix.patch2
ViewVC logotype

Contents of /rpms/smeserver-qpsmtpd/sme8/qpsmtpd-0.40-clamav_fix.patch2

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Fri Jun 15 00:59:30 2007 UTC (16 years, 11 months ago) by slords
Branch: MAIN
Updates

1 diff -Nur -x '*.orig' -x '*.rej' smeserver-qpsmtpd-1.2.1/root/usr/share/qpsmtpd/plugins/peers mezzanine_patched_smeserver-qpsmtpd-1.2.1/root/usr/share/qpsmtpd/plugins/peers
2 --- smeserver-qpsmtpd-1.2.1/root/usr/share/qpsmtpd/plugins/peers 2007-06-14 18:53:53.000000000 -0600
3 +++ mezzanine_patched_smeserver-qpsmtpd-1.2.1/root/usr/share/qpsmtpd/plugins/peers 2007-06-14 18:53:45.000000000 -0600
4 @@ -70,10 +70,17 @@
5 my $qp = shift;
6 my $config = shift;
7 $qp->{hooks} = {};
8 +
9 my @plugins = $qp->config($config);
10 unshift @plugins, "peers $config";
11 - $qp->log(LOGNOTICE, "loading plugin $_") foreach (@plugins);
12 - return $qp->_load_plugins($qp->plugin_dir, @plugins);
13 + my @loaded;
14 +
15 + for my $plugin_line (@plugins) {
16 + my $this_plugin = $qp->_load_plugin($plugin_line, $qp->plugin_dirs);
17 + push @loaded, $this_plugin if $this_plugin;
18 + }
19 +
20 + return @loaded;
21 }
22
23 sub hook_set_hooks {

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed