File: numeric.patch

package info (click to toggle)
vlogger 1.3-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, sarge, squeeze
  • size: 124 kB
  • ctags: 11
  • sloc: perl: 334; makefile: 5; sql: 5
file content (10 lines) | stat: -rw-r--r-- 352 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
--- tmp/vlogger.orig   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;
         }