mirror of
https://github.com/curl/curl.git
synced 2026-05-15 07:06:20 +03:00
multi_runsingle: switch an if() condition for readability
... because there's an identical check right next to it so using the operators in the check in the same order increases readability.
This commit is contained in:
parent
74f1810546
commit
239b58d34d
1 changed files with 1 additions and 1 deletions
|
|
@ -1529,7 +1529,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
|
|||
else
|
||||
follow = FOLLOW_RETRY;
|
||||
easy->result = Curl_done(&easy->easy_conn, CURLE_OK, FALSE);
|
||||
if(easy->result == CURLE_OK) {
|
||||
if(CURLE_OK == easy->result) {
|
||||
easy->result = Curl_follow(data, newurl, follow);
|
||||
if(CURLE_OK == easy->result) {
|
||||
multistate(easy, CURLM_STATE_CONNECT);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue