mirror of
https://github.com/moparisthebest/curl
synced 2025-03-11 07:39:50 -04:00
ftp: fix incorrect out-of-memory code in Curl_pretransfer
- Return value type must match function type. s/CURLM_OUT_OF_MEMORY/CURLE_OUT_OF_MEMORY/ Caught by Travis CI
This commit is contained in:
parent
cba9621342
commit
b49edf5f02
@ -1391,7 +1391,7 @@ CURLcode Curl_pretransfer(struct SessionHandle *data)
|
|||||||
if(!wc->filelist) {
|
if(!wc->filelist) {
|
||||||
result = Curl_wildcard_init(wc); /* init wildcard structures */
|
result = Curl_wildcard_init(wc); /* init wildcard structures */
|
||||||
if(result)
|
if(result)
|
||||||
return CURLM_OUT_OF_MEMORY;
|
return CURLE_OUT_OF_MEMORY;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user