aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-10-18 01:17:27 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-10-18 01:17:27 +0000
commitfeff911fb77775bec166c5c8fccb4d1dfb339c26 (patch)
treeff7e4ffa7792928a02400ee7caefcf9c258b41a4
parent8eee5f3253f790a25e027bd55638597868d35bda (diff)
Removed a line of dead code (discovered by Coverity)
-rw-r--r--lib/hostip.c2
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