Forgot to disable alarms after fetchXGet() in previous commit.

This commit is contained in:
Dag-Erling Smørgrav 2002-10-27 15:32:06 +00:00
parent dc161d5582
commit 0c6d34af10

View File

@ -387,6 +387,8 @@ fetch(char *URL, const char *path)
if (timeout) if (timeout)
alarm(timeout); alarm(timeout);
f = fetchXGet(url, &us, flags); f = fetchXGet(url, &us, flags);
if (timeout)
alarm(0);
if (sigalrm || sigint) if (sigalrm || sigint)
goto signal; goto signal;
if (f == NULL) { if (f == NULL) {