From 2f3c27e99271527493106150dd04a23477f47553 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 20 Oct 2005 07:38:41 +0000 Subject: [PATCH] Bufixing --- smsd.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/smsd.pl b/smsd.pl index b852bcc..0746c21 100755 --- a/smsd.pl +++ b/smsd.pl @@ -820,6 +820,7 @@ sub perform_send( $ ) { print GAMMU $sms->body(); close( GAMMU ) || error "kid exited $?"; }; + alarm 0; if ( $@ ) { @@ -838,6 +839,7 @@ sub perform_send( $ ) { } } + alarm 0; } else { # child -- 2.39.5