Print dname's as primitive type

This commit is contained in:
Willem Toorop 2016-05-03 13:35:01 +02:00
parent 066c0b3837
commit c14c6fe993
1 changed files with 1 additions and 1 deletions

View File

@ -764,7 +764,7 @@ getdns_pp_bindata(gldns_buffer *buf, size_t indent,
(void)gldns_wire2str_dname_buf(
bindata->data, bindata->size, spc, sizeof(spc));
if (gldns_buffer_printf(
buf, (json ? "\"%s\"" : "of \"%s\">"), spc) < 0)
buf, (json ? "\"%s\"" : "for %s>"), spc) < 0)
return -1;
} else if (json) {
if (gldns_buffer_printf(buf, "[") < 0)