aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-12-17 08:58:48 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-12-17 08:58:48 +0000
commit7dfef132243335b371e6743eadb01bb1002fcdd7 (patch)
tree605533b9b4813d3fdeb9b1217c73cf75ebd73e36
parent0b85e53af26bcd2d8c535ca54f8360c15bda7e1e (diff)
oops, add missing return keyword
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 8f47be1eb..65dfa8362 100644
--- 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;