]> git.pld-linux.org Git - packages/spamassassin.git/blame - spamassassin-uninitialized_value.patch
- up to 3.3.2
[packages/spamassassin.git] / spamassassin-uninitialized_value.patch
CommitLineData
c50dde0b 1http://svn.apache.org/viewvc/spamassassin/trunk/spamd/spamd.raw?r1=950076&r2=950216&pathrev=950216
2https://bugs.gentoo.org/show_bug.cgi?id=342591
3--- Mail-SpamAssassin-3.3.1/spamd/spamd.raw 2010-03-16 10:49:25.000000000 -0400
4+++ Mail-SpamAssassin-3.3.1/spamd/spamd.raw 2010-10-25 16:21:02.000000000 -0400
5@@ -443,10 +443,12 @@
6 # socket of 'none' means as much as --syslog=null. Sounds complicated? It is.
7 # But it works.
8 # )
9-my $log_socket = lc($opt{'syslog-socket'});
10+my $log_socket = $opt{'syslog-socket'};
11
12 if (!defined $log_socket || $log_socket eq '') {
13 $log_socket = am_running_on_windows() ? 'none' : 'unix';
14+} else {
15+ $log_socket = lc $log_socket;
16 }
17
18 # This is the default log file; it can be changed on the command line
This page took 0.025511 seconds and 4 git commands to generate.