Skip to content

Commit

Permalink
- direct-rdata-storage, fix braces in print_nxt_rdata function.
Browse files Browse the repository at this point in the history
  • Loading branch information
wcawijngaards committed Jan 20, 2025
1 parent 762f36a commit 25023a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rdata.c
Original file line number Diff line number Diff line change
Expand Up @@ -1769,9 +1769,11 @@ print_nxt_rdata(struct buffer *output, const struct rr *rr)

int bits = rdlength - length;
const uint8_t *bitmap = rr->rdata + length;
for (int type = 0; type < bitmap_size * 8; type++)
for (int type = 0; type < bitmap_size * 8; type++) {
if (get_bit(bitmap, type)) {
buffer_printf(output, "%s ", rrtype_to_string(type));
}
}

buffer_skip(output, -1);
return 1;
Expand Down

0 comments on commit 25023a3

Please sign in to comment.