Skip to content

Commit

Permalink
Pretty print "bad_dns" list with constant names
Browse files Browse the repository at this point in the history
  • Loading branch information
wtoorop committed Dec 31, 2015
1 parent 03425d1 commit f0bd64d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dict.c
Original file line number Diff line number Diff line change
Expand Up @@ -1058,7 +1058,8 @@ getdns_pp_dict(gldns_buffer * buf, size_t indent,
return -1;
if (getdns_pp_list(buf, indent, item->i.data.list,
(strcmp(item->node.key, "namespaces") == 0 ||
strcmp(item->node.key, "dns_transport_list") == 0),
strcmp(item->node.key, "dns_transport_list") == 0
|| strcmp(item->node.key, "bad_dns") == 0),
json) < 0)
return -1;
break;
Expand Down

0 comments on commit f0bd64d

Please sign in to comment.