Skip to content

Commit f0bd64d

Browse files
committed
Pretty print "bad_dns" list with constant names
1 parent 03425d1 commit f0bd64d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/dict.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1058,7 +1058,8 @@ getdns_pp_dict(gldns_buffer * buf, size_t indent,
10581058
return -1;
10591059
if (getdns_pp_list(buf, indent, item->i.data.list,
10601060
(strcmp(item->node.key, "namespaces") == 0 ||
1061-
strcmp(item->node.key, "dns_transport_list") == 0),
1061+
strcmp(item->node.key, "dns_transport_list") == 0
1062+
|| strcmp(item->node.key, "bad_dns") == 0),
10621063
json) < 0)
10631064
return -1;
10641065
break;

0 commit comments

Comments
 (0)