mirror of https://github.com/getdnsapi/getdns.git
Print dname's as primitive type
This commit is contained in:
parent
066c0b3837
commit
c14c6fe993
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue