Forgot to disable alarms after fetchXGet() in previous commit.
This commit is contained in:
parent
dc161d5582
commit
0c6d34af10
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user