]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
urldata: restore comment on ssl_connect_data.use
authorJacob Hoffman-Andrews <github@hoffman-andrews.com>
Mon, 7 Dec 2020 23:04:42 +0000 (15:04 -0800)
committerJay Satiro <raysatiro@yahoo.com>
Mon, 7 Dec 2020 23:45:47 +0000 (18:45 -0500)
This comment was originally on the `use` field, but was separated from
its field in 62a2534.

Closes https://github.com/curl/curl/pull/6287

lib/urldata.h

index f085c093c58c25e723fd840b813a5968cbb75bb0..4679c9d46321de9cc238950b966bc53333ccd10e 100644 (file)
@@ -205,14 +205,14 @@ struct ssl_backend_data;
 
 /* struct for data related to each SSL connection */
 struct ssl_connect_data {
-  /* Use ssl encrypted communications TRUE/FALSE, not necessarily using it atm
-     but at least asked to or meaning to use it. See 'state' for the exact
-     current state of the connection. */
   ssl_connection_state state;
   ssl_connect_state connecting_state;
 #if defined(USE_SSL)
   struct ssl_backend_data *backend;
 #endif
+  /* Use ssl encrypted communications TRUE/FALSE. The library is not
+     necessarily using ssl at the moment but at least asked to or means to use
+     it. See 'state' for the exact current state of the connection. */
   BIT(use);
 };