diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-06-01 21:24:34 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-06-01 21:24:34 +0000 |
commit | b10ff9791bb0decdab7ae4f1a4165b7042b27ae6 (patch) | |
tree | 20ee0b7bd3b077ec672ed24f5a318d2bde02378e /lib | |
parent | 86a25239ec85cc1d4f6b34aad3e029574ba77a3b (diff) |
ouch, two conditionals were turned backwards!
Diffstat (limited to 'lib')
-rw-r--r-- | lib/multi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/multi.c b/lib/multi.c index d4fd82525..bbcf6319e 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -1737,7 +1737,7 @@ static CURLMcode multi_socket(struct Curl_multi *multi, if (data->set.one_easy->easy_conn) data->set.one_easy->easy_conn->cselect_bits = 0; - if(result >= CURLM_OK) + if(CURLM_OK >= result) /* get the socket(s) and check if the state has been changed since last */ singlesocket(multi, data->set.one_easy); @@ -1763,7 +1763,7 @@ static CURLMcode multi_socket(struct Curl_multi *multi, if(data) { result = multi_runsingle(multi, data->set.one_easy); - if(result >= CURLM_OK) + if(CURLM_OK >= result) /* get the socket(s) and check if the state has been changed since last */ singlesocket(multi, data->set.one_easy); |