Skip to content
Snippets Groups Projects
Commit a76288b9 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Alexander Krasnostavsky fixed a flaw in the 3rd party transfer code that

didn't properly check return code.
parent 557e95c0
No related branches found
No related tags found
No related merge requests found
......@@ -2158,8 +2158,10 @@ CURLcode Curl_pretransfersec(struct connectdata *conn)
/* secondary connection */
status = Curl_connect_host(data, &sec_conn);
sec_conn->data = data;
conn->sec_conn = sec_conn;
if(CURLE_OK == status) {
sec_conn->data = data;
conn->sec_conn = sec_conn;
}
return status;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment