From: Stephen L Johnson Date: Wed, 31 Jan 2001 14:27:07 +0000 (+0000) Subject: month was being being used for minute field in Big Brother emulation X-Git-Tag: spong-2_7_3~4 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d28dffb60462b06fd27d580f5cada1bfefd5b02;p=spong.git month was being being used for minute field in Big Brother emulation --- diff --git a/src/spong-server.pl b/src/spong-server.pl index 68c1498..63f2f6a 100755 --- a/src/spong-server.pl +++ b/src/spong-server.pl @@ -6,7 +6,7 @@ # There are one or more update processes that listen for status updates # from client programs. -# $Id: spong-server.pl,v 1.37 2001/01/10 16:29:41 sljohnson Exp $ +# $Id: spong-server.pl,v 1.38 2001/01/31 14:27:07 sljohnson Exp $ use lib "@@LIBDIR@@"; @@ -784,7 +784,7 @@ sub save_bb_status { 'Jul','Aug','Sep','Oct','Nov','Dec'); foreach ( 0..11 ) { if ($mon eq $MoY[$_]) { $mon = $_; last; } } - $time = timelocal($sec,$mon,$hr,$day,$mon,$yr); + $time = timelocal($sec,$min,$hr,$day,$mon,$yr); } else { &error( "save_bb_status: invalid bb time [$bbtime]" ); return;