1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

multi: fix compiler warning: enumerated type mixed with another type

This commit is contained in:
Yang Tse 2010-11-26 19:34:10 +01:00
parent c9081a8280
commit e39ab6f203

View File

@ -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 */