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:
c9081a8
)
multi: fix compiler warning: enumerated type mixed with another type
author
Yang Tse
<yangsita@gmail.com>
Fri, 26 Nov 2010 18:34:10 +0000
(19:34 +0100)
committer
Yang Tse
<yangsita@gmail.com>
Fri, 26 Nov 2010 18:34:10 +0000
(19:34 +0100)
lib/multi.c
patch
|
blob
|
history
diff --git
a/lib/multi.c
b/lib/multi.c
index
9f51b7a
..
ee5e76e
100644
(file)
--- a/
lib/multi.c
+++ b/
lib/multi.c
@@
-982,7
+982,8
@@
static CURLMcode multi_runsingle(struct Curl_multi *multi,
start time stored */
timeout_ms = Curl_timeleft(easy->easy_conn, &now,
- easy->state <= CURLM_STATE_WAITDO);
+ (easy->state <= CURLM_STATE_WAITDO)?
+ TRUE:FALSE);
if(timeout_ms < 0) {
/* Handle timed out */