diff options
-rw-r--r-- | lib/hostip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostip.c b/lib/hostip.c index 03dcce86c..21dcf5b1e 100644 --- a/lib/hostip.c +++ b/lib/hostip.c @@ -592,7 +592,7 @@ int Curl_resolv_timeout(struct connectdata *conn, /* alarm() makes a signal get sent when the timeout fires off, and that will abort system calls */ - prev_alarm = alarm((unsigned int) (timeout ? timeout/1000L : timeout)); + prev_alarm = alarm((unsigned int) (timeout/1000L)); } #else |