From 9d28dffb60462b06fd27d580f5cada1bfefd5b02 Mon Sep 17 00:00:00 2001 From: Stephen L Johnson Date: Wed, 31 Jan 2001 14:27:07 +0000 Subject: [PATCH] month was being being used for minute field in Big Brother emulation --- src/spong-server.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.30.2