diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-12-20 13:06:26 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-12-20 20:30:38 +0100 |
commit | 377471f387c6639882fd8bd66a9e7b8e8341843d (patch) | |
tree | f7aec57b02a0e21e2954e7852d2a8d867787be20 /lib/ftp.h | |
parent | dfdac61522c7d660f884ec7a663dedb2d69d16a8 (diff) | |
download | curl-377471f387c6639882fd8bd66a9e7b8e8341843d.tar.gz |
FTP: move FTP-specific struct field to ftpc_conn
"wait_data_conn" was added to the connectionbits in commit c834213ad5 for
handling active FTP connections but as it is purely FTP specific and now
only ever accessed by ftp.c I moved it into the FTP connection struct.
Diffstat (limited to 'lib/ftp.h')
-rw-r--r-- | lib/ftp.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -139,6 +139,7 @@ struct ftp_conn { already has been done */ bool cwdfail; /* set TRUE if a CWD command fails, as then we must prevent 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 */ char transfertype; /* set by ftp_transfertype for use by Curl_client_write()a and others (A/I or zero) */ |