]> git.etc.gen.nz Git - spong.git/commitdiff
fixed problem with missing alarm(0) when die'ing with no socket
authorStephen L Johnson <sjohnson@monsters.org>
Sun, 7 Jan 2001 01:56:37 +0000 (01:56 +0000)
committerStephen L Johnson <sjohnson@monsters.org>
Sun, 7 Jan 2001 01:56:37 +0000 (01:56 +0000)
src/lib/Spong/Status.pm

index 978d17881e52ad38666fca034509381d4f3b080c..dcfd4967231c73423d5581dc54c74913710171a8 100755 (executable)
@@ -101,6 +101,7 @@ sub SendMsg {
                                    );
 
          if ( ! defined $sock ) {
+            alarm(0)
             die "server: $server - $@";
          }