aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2016-05-15 23:48:47 -0400
committerJay Satiro <raysatiro@yahoo.com>2016-05-15 23:48:47 -0400
commitb49edf5f02cb05433b27fd026b470e996c5e5c23 (patch)
tree435ca311ffb5d6b9f1b882342f97a83e1bac6415 /lib
parentcba962134256e8b17c70dbb543ffcf935d2a53e4 (diff)
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
Diffstat (limited to 'lib')
-rw-r--r--lib/transfer.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}