diff --git a/bin/named/server.c b/bin/named/server.c index 41963d8843..9af4d31664 100644 --- a/bin/named/server.c +++ b/bin/named/server.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: server.c,v 1.247 2000/11/14 00:37:19 bwelling Exp $ */ +/* $Id: server.c,v 1.248 2000/11/14 21:30:24 gson Exp $ */ #include @@ -2250,10 +2250,10 @@ ns_server_dumpstats(ns_server_t *server) { } numbercounters = dns_zone_numbercounters(); fp = server->statsfp; - fprintf(fp,"+++ Statistics Dump +++ (%ld)\n", + fprintf(fp, "+++ Statistics Dump +++ (%ld)\n", (long)now); - for (i=0; iglobalcount[i]); dns_zonemgr_lockconf(server->zonemgr, isc_rwlocktype_read); dns_zone_first(server->zonemgr, &zone); @@ -2263,18 +2263,18 @@ ns_server_dumpstats(ns_server_t *server) { dns_name_totext(zoneorg, ISC_FALSE, &zonebuf); /* Make sure there is room for the NULL terminator */ if (isc_buffer_availablelength(&zonebuf) < 1) - isc_buffer_subtract(&zonebuf,1); + isc_buffer_subtract(&zonebuf, 1); isc_buffer_putuint8(&zonebuf, 0); /* NULL terminate */ zoneview = dns_zone_getview(zone); viewname = zoneview->name; if (dns_zone_hascounts(zone)) { - for (i=0; izonemgr, isc_rwlocktype_read); ns_server_closestatsfile(server); return (ISC_R_SUCCESS);