Package: vlogger
Version: 1.3-1
Severity: normal
Tags: patch

My error log is spammed with these messages, I suggest the following
fix:

--- /usr/sbin/vlogger   2005-03-19 02:08:30.000000000 +0100
+++ /tmp/vlogger        2005-03-30 14:41:50.000000000 +0200
@@ -454,7 +454,7 @@
             $log_line =~ s/^\S*\s+//o;
         }
 
-        if ( $reqsize =~ m/\d|/ && $reqsize > 0 ) {
+        if ( $reqsize =~ m/^\d*$/ && $reqsize > 0 ) {
             $tracker{$vhost} += $reqsize;
         }
 

The old regular expresion is always true, creating problems if the
$reqsize is not numerical.

Greetings Tobi

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages vlogger depends on:
ii  libtimedate-perl              1.1600-4   Time and date functions for Perl
ii  perl                          5.8.4-8    Larry Wall's Practical Extraction 

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to