/[smeserver]/rpms/smeserver-qpsmtpd/sme8/smeserver-qpsmtpd-1.2.1-peersinit.patch
ViewVC logotype

Contents of /rpms/smeserver-qpsmtpd/sme8/smeserver-qpsmtpd-1.2.1-peersinit.patch

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


Revision 1.2 - (show annotations) (download)
Tue Oct 7 15:06:54 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 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 2006-12-28 10:57:02.000000000 -0700
3 +++ mezzanine_patched_smeserver-qpsmtpd-1.2.1/root/usr/share/qpsmtpd/plugins/peers 2006-12-28 10:56:13.000000000 -0700
4 @@ -8,11 +8,13 @@
5 sub init {
6 my $self = shift;
7 my $qp = shift;
8 - my $plugins_list_file = shift;
9 + my $plugins_list_file = shift || 'peers/0';
10 my @plugins = $qp->config($plugins_list_file);
11 my $dir = $qp->plugin_dir;
12
13 - for my $plugin (@plugins) {
14 + for my $plugin_line (@plugins) {
15 + my ($plugin, @args) = split ' ', $plugin_line;
16 +
17 my $plugin_name = $plugin;
18 $plugin =~ s/:\d+$//; # after this point, only used for filename
19
20 @@ -40,6 +42,7 @@
21
22 return 1;
23 }
24 +
25 sub _peer_plugins {
26 my $qp = shift;
27 my $config = shift;

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