Commit b49edf5f authored by Jay Satiro's avatar Jay Satiro
Browse files

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
parent cba96213
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
      }
    }