mirror of
https://github.com/moparisthebest/curl
synced 2025-03-11 15:50:48 -04:00
ouch, two conditionals were turned backwards!
This commit is contained in:
parent
86a25239ec
commit
b10ff9791b
@ -1737,7 +1737,7 @@ static CURLMcode multi_socket(struct Curl_multi *multi,
|
|||||||
if (data->set.one_easy->easy_conn)
|
if (data->set.one_easy->easy_conn)
|
||||||
data->set.one_easy->easy_conn->cselect_bits = 0;
|
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
|
/* get the socket(s) and check if the state has been changed since
|
||||||
last */
|
last */
|
||||||
singlesocket(multi, data->set.one_easy);
|
singlesocket(multi, data->set.one_easy);
|
||||||
@ -1763,7 +1763,7 @@ static CURLMcode multi_socket(struct Curl_multi *multi,
|
|||||||
if(data) {
|
if(data) {
|
||||||
result = multi_runsingle(multi, data->set.one_easy);
|
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
|
/* get the socket(s) and check if the state has been changed since
|
||||||
last */
|
last */
|
||||||
singlesocket(multi, data->set.one_easy);
|
singlesocket(multi, data->set.one_easy);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user