2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-02 07:35:26 +00:00

1684. [bug] Change #1679 loop tests weren't quite right.

This commit is contained in:
Rob Austein
2004-07-02 21:37:58 +00:00
parent e9f33cdca0
commit fbdadf789f
2 changed files with 5 additions and 3 deletions

View File

@@ -1,3 +1,5 @@
1684. [bug] Change #1679 loop tests weren't quite right.
1684. [placeholder] rt10704 1684. [placeholder] rt10704
1683. [bug] dig +sigchase could leak memory. [RT #11445] 1683. [bug] dig +sigchase could leak memory. [RT #11445]

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * 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 <config.h> #include <config.h>
@@ -2119,7 +2119,7 @@ fctx_nextaddress(fetchctx_t *fctx) {
if (addrinfo != NULL) if (addrinfo != NULL)
break; break;
find = ISC_LIST_NEXT(find, publink); find = ISC_LIST_NEXT(find, publink);
if (find != fctx->find && find == NULL) if (find == NULL)
find = ISC_LIST_HEAD(fctx->finds); find = ISC_LIST_HEAD(fctx->finds);
} while (find != start); } while (find != start);
} }
@@ -2164,7 +2164,7 @@ fctx_nextaddress(fetchctx_t *fctx) {
if (addrinfo != NULL) if (addrinfo != NULL)
break; break;
find = ISC_LIST_NEXT(find, publink); find = ISC_LIST_NEXT(find, publink);
if (find != fctx->altfind && find == NULL) if (find == NULL)
find = ISC_LIST_HEAD(fctx->altfinds); find = ISC_LIST_HEAD(fctx->altfinds);
} while (find != start); } while (find != start);
} }