mirror of
https://github.com/curl/curl.git
synced 2026-04-15 01:41:40 +03:00
lib: use BIT() instead of bool in structs more
Since it makes use of bitfields on supported platforms, it saves a few bytes memory. Might as well use it consistently. Closes #17114
This commit is contained in:
parent
23bed347b3
commit
ba07dcd27b
15 changed files with 41 additions and 41 deletions
|
|
@ -53,7 +53,7 @@ struct Curl_https_rrinfo {
|
|||
/* store parsed alpnid entries in the array, end with ALPN_none */
|
||||
int port; /* -1 means not set */
|
||||
uint16_t priority;
|
||||
bool no_def_alpn; /* keytag = 2 */
|
||||
BIT(no_def_alpn); /* keytag = 2 */
|
||||
};
|
||||
|
||||
CURLcode Curl_httpsrr_set(struct Curl_easy *data,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue