[Netpass-devel] NetPass/lib/NetPass API.pm,1.25,1.26
Brought to you by:
jeffmurphy
From: Matt <mt...@us...> - 2005-08-08 13:07:09
|
Update of /cvsroot/netpass/NetPass/lib/NetPass In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8760 Modified Files: API.pm Log Message: Index: API.pm =================================================================== RCS file: /cvsroot/netpass/NetPass/lib/NetPass/API.pm,v retrieving revision 1.25 retrieving revision 1.26 diff -u -d -r1.25 -r1.26 --- API.pm 3 Aug 2005 02:44:39 -0000 1.25 +++ API.pm 8 Aug 2005 13:06:58 -0000 1.26 @@ -365,8 +365,8 @@ if ($arrays) { for (my $i = 0; $i <= $#$type; $i++) { - my $t = "Unknown"; - $t = localtime($time->[$i]) if $time->[$i] =~ /^\d+$/; + my $t = $time->[$i]; + $t = localtime($time->[$i]) if $time->[$i] =~ /^\d+$/; if ($mode eq "not_really") { push @msgs, sprintf("%s report-only for violation of %d plugin at %s.", @@ -378,8 +378,8 @@ } } } else { - my $t = "Unknown"; - $t = localtime($time) if $time =~ /^\d+$/; + my $t = $time; + $t = localtime($time) if $time =~ /^\d+$/; if ($mode eq "not_really") { push @msgs, sprintf("%s report-only for violation of %d plugin at %s", |