]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1684. [bug] Change #1679 loop tests weren't quite right.
authorRob Austein <sra@isc.org>
Fri, 2 Jul 2004 21:37:58 +0000 (21:37 +0000)
committerRob Austein <sra@isc.org>
Fri, 2 Jul 2004 21:37:58 +0000 (21:37 +0000)
CHANGES
lib/dns/resolver.c

diff --git a/CHANGES b/CHANGES
index c769d39159dbceced3038e1ce99cb9f9fb5f768c..1cf8f4ce048f7232574e4c309e9154b4de3e7650 100644 (file)
--- 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]
index 0adba77421d2cb357d77ddec41bb9b38d832248f..107ac837da148091836771fff919919e171a0247 100644 (file)
@@ -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 <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);
        }