diff --git a/CHANGES b/CHANGES index c769d39159..1cf8f4ce04 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ +1684. [bug] Change #1679 loop tests weren't quite right. + 1684. [placeholder] rt10704 1683. [bug] dig +sigchase could leak memory. [RT #11445] diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c index 0adba77421..107ac837da 100644 --- a/lib/dns/resolver.c +++ b/lib/dns/resolver.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: resolver.c,v 1.291 2004/06/27 01:21:41 marka Exp $ */ +/* $Id: resolver.c,v 1.292 2004/07/02 21:37:58 sra Exp $ */ #include @@ -2119,7 +2119,7 @@ fctx_nextaddress(fetchctx_t *fctx) { if (addrinfo != NULL) break; find = ISC_LIST_NEXT(find, publink); - if (find != fctx->find && find == NULL) + if (find == NULL) find = ISC_LIST_HEAD(fctx->finds); } while (find != start); } @@ -2164,7 +2164,7 @@ fctx_nextaddress(fetchctx_t *fctx) { if (addrinfo != NULL) break; find = ISC_LIST_NEXT(find, publink); - if (find != fctx->altfind && find == NULL) + if (find == NULL) find = ISC_LIST_HEAD(fctx->altfinds); } while (find != start); }