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

soacount and nscount are gone

This commit is contained in:
Andreas Gustafsson
2000-06-08 17:00:52 +00:00
parent e9f871a352
commit bb8c4de35f

View File

@@ -59,8 +59,6 @@ main(int argc, char *argv[]) {
isc_buffer_t source;
isc_buffer_t target;
unsigned char name_buf[255];
int soacount = 0;
int nscount = 0;
dns_rdatacallbacks_t callbacks;
UNUSED(argc);
@@ -86,13 +84,9 @@ main(int argc, char *argv[]) {
result = dns_master_loadfile(argv[1], &origin, &origin, 1,
ISC_FALSE,
&soacount, &nscount,
&callbacks, mctx);
fprintf(stdout, "dns_master_loadfile: %s\n",
dns_result_totext(result));
if (result == ISC_R_SUCCESS)
fprintf(stdout, "soacount = %d, nscount = %d\n",
soacount, nscount);
}
return (0);
}