mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-22 01:59:26 +00:00
Use clang-format-21 to update formatting
This commit is contained in:
parent
747654f918
commit
38f6a495f7
@ -111,11 +111,11 @@ struct dns_rrl_entry {
|
||||
unsigned int log_qname : DNS_RRL_QNAMES_BITS;
|
||||
|
||||
#define DNS_RRL_TS_GEN_BITS 2
|
||||
unsigned int ts_gen : DNS_RRL_TS_GEN_BITS;
|
||||
unsigned int ts_gen : DNS_RRL_TS_GEN_BITS;
|
||||
unsigned int ts_valid : 1;
|
||||
#define DNS_RRL_HASH_GEN_BITS 1
|
||||
unsigned int hash_gen : DNS_RRL_HASH_GEN_BITS;
|
||||
unsigned int logged : 1;
|
||||
unsigned int logged : 1;
|
||||
#define DNS_RRL_LOG_BITS 11
|
||||
unsigned int log_secs : DNS_RRL_LOG_BITS;
|
||||
|
||||
|
@ -1556,7 +1556,8 @@ isc__log_initialize(void) {
|
||||
|
||||
isc__lctx = isc_mem_get(mctx, sizeof(*isc__lctx));
|
||||
*isc__lctx = (isc_log_t){
|
||||
.magic = LCTX_MAGIC, .mctx = mctx, /* implicit attach */
|
||||
.magic = LCTX_MAGIC,
|
||||
.mctx = mctx, /* implicit attach */
|
||||
};
|
||||
|
||||
isc_mutex_init(&isc__lctx->lock);
|
||||
|
@ -180,8 +180,8 @@ teardown_managers(void **state);
|
||||
setup_mctx(NULL); \
|
||||
setup_workers(NULL); \
|
||||
\
|
||||
while ((c = isc_commandline_parse(argc, argv, "dlt:")) != -1) \
|
||||
{ \
|
||||
while ((c = isc_commandline_parse(argc, argv, "dlt:")) != \
|
||||
-1) { \
|
||||
switch (c) { \
|
||||
case 'd': \
|
||||
debug = true; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user