2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

dns_message_create() API update

This commit is contained in:
Bob Halley
1999-07-24 01:16:09 +00:00
parent a4520e13fb
commit 7e1f467287

View File

@@ -82,7 +82,7 @@ dump_packet(isc_mem_t *mctx, unsigned char *buf, u_int len)
isc_buffer_init(&source, buf, len, ISC_BUFFERTYPE_BINARY);
isc_buffer_add(&source, len);
result = dns_message_create(mctx, &message, DNS_MESSAGE_INTENT_PARSE);
result = dns_message_create(mctx, DNS_MESSAGE_INTENT_PARSE, &message);
CHECKRESULT(result, "dns_message_create failed");
result = dns_message_parse(message, &source);