mirror of
https://github.com/curl/curl.git
synced 2026-04-15 00:51:42 +03:00
parent
833efb437d
commit
6dac2631df
1 changed files with 5 additions and 1 deletions
|
|
@ -2285,7 +2285,11 @@ static CURLcode parse_proxy(struct Curl_easy *data,
|
|||
conn->bits.proxy_user_passwd = TRUE; /* enable it */
|
||||
}
|
||||
|
||||
(void)curl_url_get(uhp, CURLUPART_PORT, &portptr, 0);
|
||||
uc = curl_url_get(uhp, CURLUPART_PORT, &portptr, 0);
|
||||
if(uc == CURLUE_OUT_OF_MEMORY) {
|
||||
result = CURLE_OUT_OF_MEMORY;
|
||||
goto error;
|
||||
}
|
||||
|
||||
if(portptr) {
|
||||
curl_off_t num;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue