summaryrefslogtreecommitdiff
path: root/lib/ftp.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-09-26 14:52:30 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-09-26 14:53:19 +0200
commitea7744a07ebd957eccb9a867eee0c3e3d67efff5 (patch)
treebeb4915cf3a6d3328c32c7b9b2859fcbdd3826d5 /lib/ftp.h
parent0ccdec339d3e475b24ce1a5af382ef083bf8b06f (diff)
downloadcurl-ea7744a07ebd957eccb9a867eee0c3e3d67efff5.tar.gz
Revert "FTP: url-decode path before evaluation"
This reverts commit 2f036a72d543e96128bd75cb0fedd88815fd42e2.
Diffstat (limited to 'lib/ftp.h')
-rw-r--r--lib/ftp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ftp.h b/lib/ftp.h
index 2c88d568c..3bdf52031 100644
--- a/lib/ftp.h
+++ b/lib/ftp.h
@@ -121,6 +121,7 @@ struct ftp_conn {
char *entrypath; /* the PWD reply when we logged on */
char **dirs; /* realloc()ed array for path components */
int dirdepth; /* number of entries used in the 'dirs' array */
+ int diralloc; /* number of entries allocated for the 'dirs' array */
char *file; /* url-decoded file name (or path) */
bool dont_check; /* Set to TRUE to prevent the final (post-transfer)
file size and 226/250 status check. It should still