1830. [bug] adb lame cache has sence of test reversed. [RT #13600]

This commit is contained in:
Mark Andrews
2005-03-15 23:39:28 +00:00
parent dbdac9c07e
commit 6d1b2cca4e
2 changed files with 4 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
1830. [bug] adb lame cache has sence of test reversed. [RT #13600]
1829. [bug] win32: "pid-file none;" broken. [RT #13563]
1828. [bug] isc_rwlock_init() failed to properly cleanup if it

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: adb.c,v 1.215.18.3 2004/11/10 22:32:31 marka Exp $ */
/* $Id: adb.c,v 1.215.18.4 2005/03/15 23:39:28 marka Exp $ */
/*
* Implementation notes
@@ -3347,7 +3347,7 @@ dns_adb_marklame(dns_adb_t *adb, dns_adbaddrinfo_t *addr, dns_name_t *zone,
bucket = addr->entry->lock_bucket;
LOCK(&adb->entrylocks[bucket]);
zi = ISC_LIST_HEAD(addr->entry->zoneinfo);
while (zi != NULL && dns_name_equal(zone, &zi->zone))
while (zi != NULL && !dns_name_equal(zone, &zi->zone))
zi = ISC_LIST_NEXT(zi, plink);
if (zi != NULL) {
if (expire_time > zi->lame_timer)