- Fix readzone unknown type print for memory resize.

This commit is contained in:
W.C.A. Wijngaards
2021-07-26 16:45:33 +02:00
parent fc462aa15d
commit e8d28f0a55
2 changed files with 7 additions and 1 deletions
+6 -1
View File
@@ -142,7 +142,12 @@ int main(int argc, char *const *argv)
s = -1;
break;
}
(void) sldns_wire2str_rr_buf(rr, rr_len, str, str_len);
if (print_in_unknown_type_format)
(void) sldns_wire2str_rr_unknown_buf(
rr, rr_len, str, str_len);
else
(void) sldns_wire2str_rr_buf(
rr, rr_len, str, str_len);
}
fprintf(stdout, "%s", str);
}