From: Jay Satiro Date: Mon, 16 May 2016 03:48:47 +0000 (-0400) Subject: ftp: fix incorrect out-of-memory code in Curl_pretransfer X-Git-Tag: curl-7_49_0~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b49edf5f02cb05433b27fd026b470e996c5e5c23;p=curl 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 --- diff --git a/lib/transfer.c b/lib/transfer.c index 72f4bd9ef..4a12ee9a3 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -1391,7 +1391,7 @@ CURLcode Curl_pretransfer(struct SessionHandle *data) if(!wc->filelist) { result = Curl_wildcard_init(wc); /* init wildcard structures */ if(result) - return CURLM_OUT_OF_MEMORY; + return CURLE_OUT_OF_MEMORY; } }