2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

dns_message_create() API change

This commit is contained in:
Bob Halley
1999-07-24 00:55:35 +00:00
parent e10dee7ed7
commit 71d8c33fef
3 changed files with 8 additions and 8 deletions

View File

@@ -131,7 +131,7 @@ main(int argc, char *argv[]) {
isc_buffer_add(&source, bp - b);
message = NULL;
result = dns_message_create(mctx, &message, DNS_MESSAGE_INTENTPARSE);
result = dns_message_create(mctx, DNS_MESSAGE_INTENTPARSE, &message);
CHECKRESULT(result, "dns_message_create failed");
result = dns_message_parse(message, &source);
@@ -185,7 +185,7 @@ main(int argc, char *argv[]) {
printf("Message rendered.\n");
isc_mem_stats(mctx, stdout);
result = dns_message_create(mctx, &message, DNS_MESSAGE_INTENTPARSE);
result = dns_message_create(mctx, DNS_MESSAGE_INTENTPARSE, &message);
CHECKRESULT(result, "dns_message_create failed");
result = dns_message_parse(message, &source);