mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
check the result from dns_message_headertotext
This commit is contained in:
parent
db085caf7f
commit
b32feaf623
@ -364,6 +364,7 @@ recvresponse(isc_task_t *task, isc_event_t *event) {
|
|||||||
|
|
||||||
printf(" %s:\n", "response_message_data");
|
printf(" %s:\n", "response_message_data");
|
||||||
result = dns_message_headertotext(response, style, flags, buf);
|
result = dns_message_headertotext(response, style, flags, buf);
|
||||||
|
CHECK("dns_message_headertotext", result);
|
||||||
} else if (display_comments && !display_short_form) {
|
} else if (display_comments && !display_short_form) {
|
||||||
printf(";; Got answer:\n");
|
printf(";; Got answer:\n");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user