aboutsummaryrefslogtreecommitdiff
path: root/lib/multi.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2013-05-30 23:34:33 +0200
committerDaniel Stenberg <daniel@haxx.se>2013-05-30 23:34:33 +0200
commit6691fdf5179d22bb6494aa7d2a748508d9f324ab (patch)
tree61cbae865cdb3ebc8a7fdbc9ed77e7bffb6ec1f1 /lib/multi.c
parent7d8d2a54bac60258540c6ee44bc791fa3b2e1d4b (diff)
multi_runsingle: add braces to clarify the code
Diffstat (limited to 'lib/multi.c')
-rw-r--r--lib/multi.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/multi.c b/lib/multi.c
index 77262fc34..a5a5798d2 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -1529,14 +1529,15 @@ 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(easy->result == CURLE_OK) {
easy->result = Curl_follow(data, newurl, follow);
- if(CURLE_OK == easy->result) {
- multistate(easy, CURLM_STATE_CONNECT);
- result = CURLM_CALL_MULTI_PERFORM;
- newurl = NULL; /* handed over the memory ownership to
- Curl_follow(), make sure we don't free() it
- here */
+ if(CURLE_OK == easy->result) {
+ multistate(easy, CURLM_STATE_CONNECT);
+ result = CURLM_CALL_MULTI_PERFORM;
+ newurl = NULL; /* handed over the memory ownership to
+ Curl_follow(), make sure we don't free() it
+ here */
+ }
}
}
else {