$NetBSD: patch-bk,v 1.1 2010/10/06 21:27:30 pettai Exp $

  fixes "Use of uninitialized value $opt{"syslog-socket"} in lc" error

--- spamd/spamd.raw.orig	2010-03-16 14:49:25.000000000 +0000
+++ spamd/spamd.raw
@@ -443,10 +443,12 @@ my $log_facility = $opt{'syslog'} || 'ma
 #  socket of 'none' means as much as --syslog=null. Sounds complicated? It is.
 #  But it works.
 # )
-my $log_socket = lc($opt{'syslog-socket'});
+my $log_socket = $opt{'syslog-socket'};
 
 if (!defined $log_socket || $log_socket eq '') {
   $log_socket = am_running_on_windows() ? 'none' : 'unix';
+} else {
+  $log_socket = lc $log_socket;
 }
 
 # This is the default log file; it can be changed on the command line
