summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-04-19 15:47:05 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-04-19 15:49:00 +0200
commit8349a4a98f2c0446f9fe5d0db12f3562f4b2fc10 (patch)
tree583d6235a417e82252c0422f23d1cf68286636a1
parent5c8521851f6f9c8b76e369ce87dd57e5ee6d38e7 (diff)
downloadcurl-bagder/ftp-listparser-continued.tar.gz
ftplistparser: keep state between invokesbagder/ftp-listparser-continued
Regression from f786d1f14 Reported-by: wncboy on github Fixes #2445
-rw-r--r--lib/ftplistparser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ftplistparser.c b/lib/ftplistparser.c
index 7668ea8c8..b376c8103 100644
--- a/lib/ftplistparser.c
+++ b/lib/ftplistparser.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -1003,6 +1003,7 @@ size_t Curl_ftp_parselist(char *buffer, size_t size, size_t nmemb,
i++;
}
+ return retsize;
fail: