From: Stephen L Johnson Date: Sun, 7 Jan 2001 01:56:37 +0000 (+0000) Subject: fixed problem with missing alarm(0) when die'ing with no socket X-Git-Tag: spong-2_7_2~1 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b11ef75f96425f13c1b4e8fa2a7378ab598d61e8;p=spong.git fixed problem with missing alarm(0) when die'ing with no socket --- diff --git a/src/lib/Spong/Status.pm b/src/lib/Spong/Status.pm index 978d178..dcfd496 100755 --- a/src/lib/Spong/Status.pm +++ b/src/lib/Spong/Status.pm @@ -101,6 +101,7 @@ sub SendMsg { ); if ( ! defined $sock ) { + alarm(0) die "server: $server - $@"; }