update to 9.7.1-P2
[tridge/bind9.git] / bin / tests / master_test.c
index f77c8f64fc027fe5650399c45265e174243174c8..afc6c8c10ddfb43cff788ad2136820929c3ddf60 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2007, 2009  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1999-2001  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: master_test.c,v 1.30 2007/06/19 23:46:59 tbox Exp $ */
+/* $Id: master_test.c,v 1.32 2009/09/02 23:48:01 tbox Exp $ */
 
 #include <config.h>
 
@@ -75,7 +75,7 @@ main(int argc, char *argv[]) {
                isc_buffer_init(&target, name_buf, 255);
                dns_name_init(&origin, NULL);
                result = dns_name_fromtext(&origin, &source, dns_rootname,
-                                          ISC_FALSE, &target);
+                                          0, &target);
                if (result != ISC_R_SUCCESS) {
                        fprintf(stdout, "dns_name_fromtext: %s\n",
                                dns_result_totext(result));
@@ -85,7 +85,7 @@ main(int argc, char *argv[]) {
                dns_rdatacallbacks_init_stdio(&callbacks);
                callbacks.add = print_dataset;
 
-               result = dns_master_loadfile(argv[1], &origin, &origin, 
+               result = dns_master_loadfile(argv[1], &origin, &origin,
                                             dns_rdataclass_in, 0,
                                             &callbacks, mctx);
                fprintf(stdout, "dns_master_loadfile: %s\n",