summaryrefslogtreecommitdiff
path: root/lib/ftp.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-12-20 13:06:26 +0100
committerDaniel Stenberg <daniel@haxx.se>2011-12-20 20:30:38 +0100
commit377471f387c6639882fd8bd66a9e7b8e8341843d (patch)
treef7aec57b02a0e21e2954e7852d2a8d867787be20 /lib/ftp.h
parentdfdac61522c7d660f884ec7a663dedb2d69d16a8 (diff)
downloadgnurl-377471f387c6639882fd8bd66a9e7b8e8341843d.tar.gz
gnurl-377471f387c6639882fd8bd66a9e7b8e8341843d.tar.bz2
gnurl-377471f387c6639882fd8bd66a9e7b8e8341843d.zip
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ftp.h b/lib/ftp.h
index 4c1296fef..21e47374b 100644
--- a/lib/ftp.h
+++ b/lib/ftp.h
@@ -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) */