]> git.sesse.net Git - remoteglot/commitdiff
Fix an issue in varnishcount.pl with alternative URLs.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 21 Jun 2015 23:44:05 +0000 (01:44 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 21 Jun 2015 23:44:05 +0000 (01:44 +0200)
varnishcount.pl

index 94203bbe287ee7cdb2e0fbe6a317e6409a5e28fc..35e1402d24085444c753b477d3e0d1240eadb525 100755 (executable)
@@ -35,7 +35,7 @@ EV::run;
 
 sub handle_line {
        my $line = shift;
-       $line =~ m#(\d+) /analysis.pl \?ims=\d+&unique=(.*) tffb=(.*)# or return;
+       $line =~ m#(\d+) $url \?ims=\d+&unique=(.*) tffb=(.*)# or return;
        $uniques{$2} = {
                last_seen => $1 + $3,
                grace => undef,