diff options
author | Daniel Stenberg <daniel@haxx.se> | 2022-12-29 17:43:36 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-12-30 00:16:53 +0100 |
commit | 1c0079603993f6d05a92527a69ed874eb696dc88 (patch) | |
tree | 60ba056f2b57d8e7270aef3844d991bd525662f7 /lib/multihandle.h | |
parent | b0119436b02147b535da4972b3417db75d4d2a98 (diff) | |
download | curl-1c0079603993f6d05a92527a69ed874eb696dc88.tar.gz |
multihandle: turn bool struct fields into bits
Closes #10179
Diffstat (limited to 'lib/multihandle.h')
-rw-r--r-- | lib/multihandle.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/multihandle.h b/lib/multihandle.h index 5a83656d5..be55fa9dc 100644 --- a/lib/multihandle.h +++ b/lib/multihandle.h @@ -162,13 +162,13 @@ struct Curl_multi { #define IPV6_DEAD 1 #define IPV6_WORKS 2 unsigned char ipv6_up; /* IPV6_* defined */ - bool multiplexing; /* multiplexing wanted */ - bool recheckstate; /* see Curl_multi_connchanged */ - bool in_callback; /* true while executing a callback */ + BIT(multiplexing); /* multiplexing wanted */ + BIT(recheckstate); /* see Curl_multi_connchanged */ + BIT(in_callback); /* true while executing a callback */ #ifdef USE_OPENSSL - bool ssl_seeded; + BIT(ssl_seeded); #endif - bool dead; /* a callback returned error, everything needs to crash and + BIT(dead); /* a callback returned error, everything needs to crash and burn */ }; |