From: Daniel Stenberg Date: Tue, 11 Jun 2002 15:44:27 +0000 (+0000) Subject: corrected the signal handler X-Git-Tag: curl-7_9_8~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=85e2e96fb69e34c65bff3230fb27178180fde73d;p=curl corrected the signal handler --- diff --git a/lib/url.c b/lib/url.c index 44c13ccb1..0c47b2e0f 100644 --- a/lib/url.c +++ b/lib/url.c @@ -143,13 +143,13 @@ static unsigned int ConnectionStore(struct SessionHandle *data, #ifndef RETSIGTYPE #define RETSIGTYPE void #endif +extern sigjmp_buf curl_jmpenv; static RETSIGTYPE alarmfunc(int signal) { /* this is for "-ansi -Wall -pedantic" to stop complaining! (rabe) */ (void)signal; #ifdef HAVE_SIGSETJMP - extern sigjmp_buf curl_jmpenv; siglongjmp(curl_jmpenv, 1); #endif return;