From: Mark Andrews Date: Tue, 24 Jul 2001 02:57:34 +0000 (+0000) Subject: INSIST used 9.2 style reference counting. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4606b301070ab5961c230a99ca7e8c9ad9d823ed;p=thirdparty%2Fbind9.git INSIST used 9.2 style reference counting. --- diff --git a/lib/dns/zone.c b/lib/dns/zone.c index b2c406f2349..03947f87878 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.283.2.16 2001/07/19 17:11:33 gson Exp $ */ +/* $Id: zone.c,v 1.283.2.17 2001/07/24 02:57:34 marka Exp $ */ #include @@ -1505,7 +1505,7 @@ zone_iattach(dns_zone_t *source, dns_zone_t **target) { REQUIRE(LOCKED_ZONE(source)); REQUIRE(DNS_ZONE_VALID(source)); REQUIRE(target != NULL && *target == NULL); - INSIST(source->irefs + isc_refcount_current(&source->erefs) > 0); + INSIST(source->irefs + source->erefs > 0); source->irefs++; INSIST(source->irefs != 0); *target = source;