]> granicus.if.org Git - curl/commitdiff
oops, add missing return keyword
authorDaniel Stenberg <daniel@haxx.se>
Fri, 17 Dec 2004 08:58:48 +0000 (08:58 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 17 Dec 2004 08:58:48 +0000 (08:58 +0000)
lib/ftp.c

index 8f47be1eb9e64308ee64f7aa1ecd03dd84ecf76f..65dfa8362b8e78c6b430a7178cd9a086e45a252c 100644 (file)
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -773,7 +773,7 @@ CURLcode Curl_ftp_done(struct connectdata *conn, CURLcode status)
 
   path = curl_unescape(conn->path, 0); /* get the "raw" path */
   if(!path)
-    CURLE_OUT_OF_MEMORY;
+    return CURLE_OUT_OF_MEMORY;
 
   flen = ftp->file?strlen(ftp->file):0; /* file is "raw" already */
   dlen = strlen(path)-flen;