diff options
author | des <des@FreeBSD.org> | 2002-10-27 15:32:06 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2002-10-27 15:32:06 +0000 |
commit | f8dcf07de6dd867cbe1ce1658aa8ef03f10ed3cd (patch) | |
tree | 21d4e4d047a5da08e02a63d8a0c9715a1608a030 /usr.bin/fetch | |
parent | c1a42364827f8d2ce4bf20e6dd26748340a78c0a (diff) | |
download | FreeBSD-src-f8dcf07de6dd867cbe1ce1658aa8ef03f10ed3cd.zip FreeBSD-src-f8dcf07de6dd867cbe1ce1658aa8ef03f10ed3cd.tar.gz |
Forgot to disable alarms after fetchXGet() in previous commit.
Diffstat (limited to 'usr.bin/fetch')
-rw-r--r-- | usr.bin/fetch/fetch.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |