]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
a cvs pullup was somehow corrupted.
authorBrian Wellington <source@isc.org>
Sun, 4 Mar 2001 23:03:22 +0000 (23:03 +0000)
committerBrian Wellington <source@isc.org>
Sun, 4 Mar 2001 23:03:22 +0000 (23:03 +0000)
lib/dns/rbtdb.c

index 8815708c6f53a4c634241a80d12e93200bb1d0cc..d4c908a129db859533592350d375865bb627840e 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rbtdb.c,v 1.139.4.4 2001/03/03 09:33:12 bwelling Exp $ */
+/* $Id: rbtdb.c,v 1.139.4.5 2001/03/04 23:03:22 bwelling Exp $ */
 
 /*
  * Principal Author: Bob Halley
@@ -4264,12 +4264,6 @@ rdatasetiter_destroy(dns_rdatasetiter_t **iteratorp) {
 
        rbtiterator = (rbtdb_rdatasetiter_t *)(*iteratorp);
 
-                                *
-                                * Note: unlike everywhere else, we
-                                * check for now > header->ttl instead
-                                * of now >= header->ttl.  This allows
-                                * ANY and SIG queries for 0 TTL
-                                * rdatasets to work.
        if (rbtiterator->common.version != NULL)
                closeversion(rbtiterator->common.db,
                             &rbtiterator->common.version, ISC_FALSE);
@@ -4307,6 +4301,12 @@ rdatasetiter_first(dns_rdatasetiter_t *iterator) {
                                /*
                                 * Is this a "this rdataset doesn't
                                 * exist" record?
+                                *
+                                * Note: unlike everywhere else, we
+                                * check for now > header->ttl instead
+                                * of now >= header->ttl.  This allows
+                                * ANY and SIG queries for 0 TTL
+                                * rdatasets to work.
                                 */
                                if ((header->attributes &
                                     RDATASET_ATTR_NONEXISTENT) != 0 ||