mirror of
https://github.com/moparisthebest/curl
synced 2025-03-11 15:50:48 -04:00
multi_runsingle: add braces to clarify the code
This commit is contained in:
parent
7d8d2a54ba
commit
6691fdf517
@ -1529,7 +1529,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
|
|||||||
else
|
else
|
||||||
follow = FOLLOW_RETRY;
|
follow = FOLLOW_RETRY;
|
||||||
easy->result = Curl_done(&easy->easy_conn, CURLE_OK, FALSE);
|
easy->result = Curl_done(&easy->easy_conn, CURLE_OK, FALSE);
|
||||||
if(easy->result == CURLE_OK)
|
if(easy->result == CURLE_OK) {
|
||||||
easy->result = Curl_follow(data, newurl, follow);
|
easy->result = Curl_follow(data, newurl, follow);
|
||||||
if(CURLE_OK == easy->result) {
|
if(CURLE_OK == easy->result) {
|
||||||
multistate(easy, CURLM_STATE_CONNECT);
|
multistate(easy, CURLM_STATE_CONNECT);
|
||||||
@ -1539,6 +1539,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
|
|||||||
here */
|
here */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
/* after the transfer is done, go DONE */
|
/* after the transfer is done, go DONE */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user