diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-08-15 18:48:04 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-08-17 10:08:11 +0200 |
commit | c95eff4a11575a5973fad20619ff7ca3989316db (patch) | |
tree | 0f6a1755df18b3f5f19d0a30c712687c72cae246 /lib/ftp.h | |
parent | 582f2a1308182becb9b4a1fad5ff3eccf8fa21f8 (diff) | |
download | curl-c95eff4a11575a5973fad20619ff7ca3989316db.tar.gz |
ftp: fix CWD when doing multicwd then nocwd on same connection
Fixes #1782
Closes #1787
Reported-by: Peter Lamare
Diffstat (limited to 'lib/ftp.h')
-rw-r--r-- | lib/ftp.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -135,6 +135,7 @@ struct ftp_conn { caching the current directory */ bool wait_data_conn; /* this is set TRUE if data connection is waited */ char *prevpath; /* conn->path from the previous transfer */ + curl_ftpfile prevmethod; /* ftp method in previous transfer */ char transfertype; /* set by ftp_transfertype for use by Curl_client_write()a and others (A/I or zero) */ int count1; /* general purpose counter for the state machine */ |