diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-05-26 14:42:47 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-05-27 08:02:47 +0200 |
commit | 7414fb25a211f08591b80298746afcfad8718894 (patch) | |
tree | e635ffaec552b2a058dcb4d28e5f62bf8e2f16aa /lib/ftp.c | |
parent | 67d2802deabd179552bf957d344b7dd74cbb64d8 (diff) | |
download | curl-7414fb25a211f08591b80298746afcfad8718894.tar.gz |
urldata: connect related booleans live in struct ConnectBits
And remove a few unused booleans!
Closes #5461
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 */ |