From c2f4fe7f95955ee4dbddd667d6fd429bcd4c0838 Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Sat, 11 Nov 2000 01:02:28 +0000 Subject: [PATCH] clarified comment; fixed spacing --- lib/dns/zone.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/dns/zone.c b/lib/dns/zone.c index 730f19566c..cd4fbbce9f 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: zone.c,v 1.249 2000/11/09 19:33:51 gson Exp $ */ +/* $Id: zone.c,v 1.250 2000/11/11 01:02:28 gson Exp $ */ #include @@ -190,8 +190,7 @@ struct dns_zone { ISC_LINK(dns_zone_t) statelink; dns_zonelist_t *statelist; /* - * Variables stored in the zone object which are used to hold - * statistical information regarding the zone. + * Optional per-zone statistics counters */ isc_uint64_t *counters; }; @@ -5643,7 +5642,7 @@ dns_zone_resetcounts(dns_zone_t *zone) { RWLOCK(&zone->zmgr->rwlock, isc_rwlocktype_write); if (zone->counters != NULL) for (i = 0; i < DNS_ZONE_COUNTSIZE; i++) - zone->counters[i]=0; + zone->counters[i] = 0; RWUNLOCK(&zone->zmgr->rwlock, isc_rwlocktype_write); } @@ -5676,7 +5675,7 @@ dns_zone_startcounting(dns_zone_t *zone) { result = ISC_R_NOMEMORY; else for (i = 0; i < DNS_ZONE_COUNTSIZE; i++) - zone->counters[i]=0; + zone->counters[i] = 0; done: RWUNLOCK(&zone->zmgr->rwlock, isc_rwlocktype_write); return (ISC_R_SUCCESS);