--- pflogsumm.pl.orig	Tue Dec 31 19:30:43 2002
+++ pflogsumm.pl	Fri Jan 10 13:07:39 2003
@@ -557,7 +557,7 @@
 		@{$connTime{$1}} =
 		    ($msgYr, $msgMon + 1, $msgDay, $msgHr, $msgMin, $msgSec);
 	    } elsif(/: disconnect from /o) {
-		my ($pid, $hostID) = /\/smtpd\[(\d+)\]: disconnect from (.+)$/o;
+		my ($pid, $hostID) = /\/smtpd\[(\d+)\]: disconnect from (.+)$/o || next;
 		if(exists($connTime{$pid})) {
 		    $hostID = gimme_domain($hostID);
 		    my($d, $h, $m, $s) = Delta_DHMS(@{$connTime{$pid}},
@@ -1267,7 +1267,7 @@
     }
     my ($t_mday, $t_mon) = (localtime($time))[3,4];
 
-    return sprintf("%s %2d", $monthNames[$t_mon], $t_mday);
+    return sprintf("%s %02d", $monthNames[$t_mon], $t_mday);
 }
 
 # if there's a real domain: uses that.  Otherwise uses the first
