diff options
| author | Jay Satiro <raysatiro@yahoo.com> | 2016-05-15 23:48:47 -0400 | 
|---|---|---|
| committer | Jay Satiro <raysatiro@yahoo.com> | 2016-05-15 23:48:47 -0400 | 
| commit | b49edf5f02cb05433b27fd026b470e996c5e5c23 (patch) | |
| tree | 435ca311ffb5d6b9f1b882342f97a83e1bac6415 /lib | |
| parent | cba962134256e8b17c70dbb543ffcf935d2a53e4 (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.c | 2 | 
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;        }      }  | 
