1685. [bug] Change #1679 loop tests weren't quite right.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
1685. [bug] Change #1679 loop tests weren't quite right.
|
||||
|
||||
1683. [bug] dig +sigchase could leak memory. [RT #11445]
|
||||
|
||||
1682. [port] Update configure test for (long long) printf format.
|
||||
|
||||
+3
-3
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: resolver.c,v 1.284.18.7 2004/06/27 01:30:37 marka Exp $ */
|
||||
/* $Id: resolver.c,v 1.284.18.8 2004/07/02 22:15:12 sra Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user