summaryrefslogtreecommitdiff
path: root/lib/fileinfo.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-04-19 15:47:05 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-04-24 14:23:20 +0200
commite6c22368c6e5426ec2b1cb8a3041ebc98d0ad402 (patch)
tree5c7f34f8b81f68d5a26b7eb074c7be8ab565fe0b /lib/fileinfo.h
parent1778135a9ff3b7e5683dc8ab66d75d7b2a2951d1 (diff)
downloadcurl-e6c22368c6e5426ec2b1cb8a3041ebc98d0ad402.tar.gz
ftplistparser: keep state between invokes
Fixes FTP wildcard parsing when done over a number of read buffers. Regression from f786d1f14 Reported-by: wncboy on github Fixes #2445 Closes #2526
Diffstat (limited to 'lib/fileinfo.h')
-rw-r--r--lib/fileinfo.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/fileinfo.h b/lib/fileinfo.h
index c5d0ee5b6..f4d8f3b90 100644
--- a/lib/fileinfo.h
+++ b/lib/fileinfo.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 2010, 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2010 - 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
@@ -31,7 +31,6 @@ struct fileinfo {
};
struct fileinfo *Curl_fileinfo_alloc(void);
-
-void Curl_fileinfo_dtor(void *, void *);
+void Curl_fileinfo_cleanup(struct fileinfo *finfo);
#endif /* HEADER_CURL_FILEINFO_H */