]> git.etc.gen.nz Git - spong.git/commitdiff
month was being being used for minute field in Big Brother emulation
authorStephen L Johnson <sjohnson@monsters.org>
Wed, 31 Jan 2001 14:27:07 +0000 (14:27 +0000)
committerStephen L Johnson <sjohnson@monsters.org>
Wed, 31 Jan 2001 14:27:07 +0000 (14:27 +0000)
src/spong-server.pl

index 68c1498e4a2c57892fdecc876c56f6510b721125..63f2f6a88e1cc79807e8c44b4cf2c268a0739136 100755 (executable)
@@ -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;