aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/url.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/url.c b/lib/url.c
index 3e2e37179..fefab252f 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -3917,7 +3917,7 @@ CURLcode Curl_connect(struct SessionHandle *data,
will be NULL here. Continue connecting from here */
code = SetupConnection(*in_connect, dns, protocol_done);
/* else
- response will be received and treated async wise */
+ response will be received and treated async wise */
}
if(CURLE_OK != code) {
@@ -3927,9 +3927,10 @@ CURLcode Curl_connect(struct SessionHandle *data,
Curl_disconnect(*in_connect); /* close the connection */
*in_connect = NULL; /* return a NULL */
}
- } else {
- if ((*in_connect)->is_in_pipeline)
- data->state.is_in_pipeline = TRUE;
+ }
+ else {
+ if ((*in_connect)->is_in_pipeline)
+ data->state.is_in_pipeline = TRUE;
}
return code;