1
0
mirror of https://github.com/moparisthebest/curl synced 2025-03-01 01:41:50 -05:00

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

didn't properly check return code.
This commit is contained in:
Daniel Stenberg 2004-06-16 09:05:22 +00:00
parent 557e95c0a3
commit a76288b99a

View File

@ -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;
}