From: eldy <> Date: Tue, 28 Nov 2006 21:00:42 +0000 (+0000) Subject: Fix: bug in sendmail log parsing X-Git-Tag: AWSTATS_6_6~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebeadffba92b795313621fc77037294b2d8f86d1;p=thirdparty%2FAWStats.git Fix: bug in sendmail log parsing --- diff --git a/tools/maillogconvert.pl b/tools/maillogconvert.pl index dd778d7e..1f24f420 100644 --- a/tools/maillogconvert.pl +++ b/tools/maillogconvert.pl @@ -370,7 +370,7 @@ while (<>) { $mail{$id}{'mon'}=$mon; $mail{$id}{'day'}=$day; $mail{$id}{'time'}=$time; - if (&trim($to)=~/^|/) { + if (&trim($to)=~/^\|/) { # In particular case of mails are sent to a pipe, the ctladdr contains the to $mail{$id}{'to'}=&trim($fromorto); } else {