From b49edf5f02cb05433b27fd026b470e996c5e5c23 Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Sun, 15 May 2016 23:48:47 -0400 Subject: 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 --- lib/transfer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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; } } -- cgit v1.2.3