mirror of
https://github.com/curl/curl.git
synced 2026-04-15 02:21:41 +03:00
parent
f9dfabb42a
commit
6c97ff8c12
1 changed files with 4 additions and 2 deletions
|
|
@ -1248,8 +1248,10 @@ static CURLcode socks_proxy_cf_connect(struct Curl_cfilter *cf,
|
|||
|
||||
if(!sx) {
|
||||
cf->ctx = sx = calloc(1, sizeof(*sx));
|
||||
if(!sx)
|
||||
return CURLE_OUT_OF_MEMORY;
|
||||
if(!sx) {
|
||||
result = CURLE_OUT_OF_MEMORY;
|
||||
goto out;
|
||||
}
|
||||
|
||||
/* for the secondary socket (FTP), use the "connect to host"
|
||||
* but ignore the "connect to port" (use the secondary port)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue