summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xemergencyc.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/emergencyc.pl b/emergencyc.pl
index c460dc1..5cd3034 100755
--- a/emergencyc.pl
+++ b/emergencyc.pl
@@ -78,6 +78,7 @@ eval {
do {
$sender = recv($socket, $buf, 16384, 0);
} while ( defined($sender) && $sender ne $haddr );
+ alarm 0;
};
if ( $@ ) {
print "timeout\n";