From f8dcf07de6dd867cbe1ce1658aa8ef03f10ed3cd Mon Sep 17 00:00:00 2001 From: des Date: Sun, 27 Oct 2002 15:32:06 +0000 Subject: Forgot to disable alarms after fetchXGet() in previous commit. --- usr.bin/fetch/fetch.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr.bin/fetch') diff --git a/usr.bin/fetch/fetch.c b/usr.bin/fetch/fetch.c index 6b237f3..740ddff 100644 --- a/usr.bin/fetch/fetch.c +++ b/usr.bin/fetch/fetch.c @@ -387,6 +387,8 @@ fetch(char *URL, const char *path) if (timeout) alarm(timeout); f = fetchXGet(url, &us, flags); + if (timeout) + alarm(0); if (sigalrm || sigint) goto signal; if (f == NULL) { -- cgit v1.1