diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-05-26 14:42:47 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-05-26 14:42:47 +0200 |
commit | 69d25f60cea7cf4e2c7c67a3e2b9a1512c3a4117 (patch) | |
tree | c3be5ef8e71691b931ab36bca5dbbdfe4c60aaa8 /lib/ftp.c | |
parent | 96a822f6e2de3df00c94bd74a5981032678da70a (diff) | |
download | curl-69d25f60cea7cf4e2c7c67a3e2b9a1512c3a4117.tar.gz |
urldata: connect related booleans live in struct ConnectBitsbagder/conn-bits
And remove a few unused booleans!
Diffstat (limited to 'lib/ftp.c')
-rw-r--r-- | lib/ftp.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -292,7 +292,7 @@ static CURLcode AcceptServerConnect(struct connectdata *conn) conn->sock[SECONDARYSOCKET] = s; (void)curlx_nonblock(s, TRUE); /* enable non-blocking */ - conn->sock_accepted = TRUE; + conn->bits.sock_accepted = TRUE; if(data->set.fsockopt) { int error = 0; @@ -4340,7 +4340,6 @@ static CURLcode ftp_setup_connection(struct connectdata *conn) char command; *type = 0; /* it was in the middle of the hostname */ command = Curl_raw_toupper(type[6]); - conn->bits.type_set = TRUE; switch(command) { case 'A': /* ASCII mode */ |