From 85e2e96fb69e34c65bff3230fb27178180fde73d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 11 Jun 2002 15:44:27 +0000 Subject: corrected the signal handler --- lib/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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; -- cgit v1.2.3