From 377471f387c6639882fd8bd66a9e7b8e8341843d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 20 Dec 2011 13:06:26 +0100 Subject: 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. --- lib/ftp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/ftp.h') 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) */ -- cgit v1.2.3