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/imap.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/imap.c')
-rw-r--r-- | lib/imap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/imap.c b/lib/imap.c index 66172bddc..14c76f08e 100644 --- a/lib/imap.c +++ b/lib/imap.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -187,7 +187,7 @@ static void imap_to_imaps(struct connectdata *conn) conn->handler = &Curl_handler_imaps; /* Set the connection's upgraded to TLS flag */ - conn->tls_upgraded = TRUE; + conn->bits.tls_upgraded = TRUE; } #else #define imap_to_imaps(x) Curl_nop_stmt @@ -1710,7 +1710,7 @@ static CURLcode imap_setup_connection(struct connectdata *conn) return result; /* Clear the TLS upgraded flag */ - conn->tls_upgraded = FALSE; + conn->bits.tls_upgraded = FALSE; return CURLE_OK; } |