projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8eee5f3
)
Removed a line of dead code (discovered by Coverity)
author
Dan Fandrich
<dan@coneharvesters.com>
Sat, 18 Oct 2008 01:17:27 +0000
(
01:17
+0000)
committer
Dan Fandrich
<dan@coneharvesters.com>
Sat, 18 Oct 2008 01:17:27 +0000
(
01:17
+0000)
lib/hostip.c
patch
|
blob
|
history
diff --git
a/lib/hostip.c
b/lib/hostip.c
index
03dcce8
..
21dcf5b
100644
(file)
--- 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