diff options
Diffstat (limited to 'usr.bin/fetch/fetch.c')
-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) { |