Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
corrected the signal handler
  • Loading branch information
bagder committed Jun 11, 2002
1 parent be35b3a commit 85e2e96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/url.c
Expand Up @@ -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;
Expand Down

0 comments on commit 85e2e96

Please sign in to comment.