From: <no...@so...> - 2009-07-21 14:04:32
|
Update of /cvsroot/ijbswa/current/tools In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv21430/tools Modified Files: privoxy-log-parser.pl Log Message: Ignore line feeds at the end of the message. Index: privoxy-log-parser.pl =================================================================== RCS file: /cvsroot/ijbswa/current/tools/privoxy-log-parser.pl,v retrieving revision 1.41 retrieving revision 1.42 diff -u -d -r1.41 -r1.42 --- privoxy-log-parser.pl 21 Jul 2009 13:55:59 -0000 1.41 +++ privoxy-log-parser.pl 21 Jul 2009 14:04:25 -0000 1.42 @@ -1898,7 +1898,7 @@ $output = ''; - if (m/^(\w{3} \d{2}) (\d\d:\d\d:\d\d)\.?(\d+)? (?:Privoxy\()?([^\)\s]*)[\)]? ([\w -]*): (.*)$/) { + if (m/^(\w{3} \d{2}) (\d\d:\d\d:\d\d)\.?(\d+)? (?:Privoxy\()?([^\)\s]*)[\)]? ([\w -]*): (.*?)\r?$/) { # XXX: Put in req hash? $day = $1; $time_stamp = $2; |