]> git.etc.gen.nz Git - spong.git/commitdiff
fixed problem with del_ack() and save_ack() being called for an ack-del
authorStephen L Johnson <sjohnson@monsters.org>
Wed, 29 Nov 2000 21:01:38 +0000 (21:01 +0000)
committerStephen L Johnson <sjohnson@monsters.org>
Wed, 29 Nov 2000 21:01:38 +0000 (21:01 +0000)
src/spong-server.pl

index 04c417af4c6e926253ae7f98ad8cb3ac101753b5..618b59156f879dec82a6db7f8d9aa86dead13b46 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.30 2000/11/06 19:31:53 sljohnson Exp $
+# $Id: spong-server.pl,v 1.31 2000/11/29 21:01:38 sljohnson Exp $
 
 use lib "@@LIBDIR@@";
 
@@ -284,7 +284,7 @@ sub listen_for_updates {
 
          if( $header =~ /^status\b/ ) { &save_status( $header, $message ); }
          if( $header =~ /^ack-del\b/ ) { &del_ack( $header, $message ); }
-         if( $header =~ /^ack\b/ )     { &save_ack( $header, $message ); }
+         if( $header =~ /^ack\ / )     { &save_ack( $header, $message ); }
          #   if( $header =~ /^config\b/ ) { &save_config( $header, $message ); }
          #   if( $header =~ /^stat\b/ )   { &save_stat( $header, $message ); }