From 0c6d34af10aa99af6fb74a64373c9cc95951150e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Sun, 27 Oct 2002 15:32:06 +0000 Subject: [PATCH] Forgot to disable alarms after fetchXGet() in previous commit. --- usr.bin/fetch/fetch.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr.bin/fetch/fetch.c b/usr.bin/fetch/fetch.c index 6b237f359a73..740ddff75eef 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) {