danf: curl-www/auto summarize.pl,1.47,1.48
| Newsgroups | gmane.comp.web.curl.www.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/curl/curl-www/auto
In directory labb:/tmp/cvs-serv30995
Modified Files:
summarize.pl
Log Message:
Make the link clickable when a corrupted date-less log is parsed.
Index: summarize.pl
===================================================================
RCS file: /cvsroot/curl/curl-www/auto/summarize.pl,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- summarize.pl 24 Feb 2007 04:49:42 -0000 1.47
+++ summarize.pl 22 Mar 2007 17:45:44 -0000 1.48
@@ -231,6 +231,9 @@
# $showdate =~ s/2003//g;
# $showdate =~ s/(GMT|UTC|Mon|Tue|Wed|Thu|Fri|Sat|Sun)//ig;
$showdate =~ s/.*(\d\d):(\d\d):(\d\d).*/$1:$2/;
+ if (!$showdate) {
+ $showdate ='??:??';
+ }
# prefer the date from the actual log file, it might have been from
# another day