/[smeserver]/rpms/smeserver-qpsmtpd/sme7/smeserver-qpsmtpd-1.2.1-qpsmtpd40.patch2
ViewVC logotype

Annotation of /rpms/smeserver-qpsmtpd/sme7/smeserver-qpsmtpd-1.2.1-qpsmtpd40.patch2

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


Revision 1.2 - (hide annotations) (download)
Tue Oct 7 15:06:53 2008 UTC (16 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
New streams

1 slords 1.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