2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

Update the source code formatting using clang-format-12

clang-format now tries to keep the type-cast on the same line as the
variable.  Update the formatting.
This commit is contained in:
Ondřej Surý
2021-06-12 09:14:40 +02:00
parent 9f7855322c
commit b3de93e54c
4 changed files with 20 additions and 15 deletions

View File

@@ -1578,9 +1578,9 @@ getsection(isc_buffer_t *source, dns_message_t *msg, dns_decompress_t *dctx,
msg->opt = rdataset;
rdataset = NULL;
free_rdataset = false;
ercode = (dns_rcode_t)(
(msg->opt->ttl & DNS_MESSAGE_EDNSRCODE_MASK) >>
20);
ercode = (dns_rcode_t)((msg->opt->ttl &
DNS_MESSAGE_EDNSRCODE_MASK) >>
20);
msg->rcode |= ercode;
dns_message_puttempname(msg, &name);
free_name = false;