projects
/
curl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cba9621
)
ftp: fix incorrect out-of-memory code in Curl_pretransfer
author
Jay Satiro
<raysatiro@yahoo.com>
Mon, 16 May 2016 03:48:47 +0000
(23:48 -0400)
committer
Jay Satiro
<raysatiro@yahoo.com>
Mon, 16 May 2016 03:48:47 +0000
(23:48 -0400)
- Return value type must match function type.
s/CURLM_OUT_OF_MEMORY/CURLE_OUT_OF_MEMORY/
Caught by Travis CI
lib/transfer.c
patch
|
blob
|
history
diff --git
a/lib/transfer.c
b/lib/transfer.c
index 72f4bd9ef596d75e7bd3ab119aee9a0d75970c53..4a12ee9a3f534ec277e47dadf4b01067ecbb463f 100644
(file)
--- 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 CURL
M
_OUT_OF_MEMORY;
+ return CURL
E
_OUT_OF_MEMORY;
}
}