]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1691. [bug] sdb's attachversion was not complete. [RT #11990]
authorMark Andrews <marka@isc.org>
Thu, 22 Jul 2004 03:58:07 +0000 (03:58 +0000)
committerMark Andrews <marka@isc.org>
Thu, 22 Jul 2004 03:58:07 +0000 (03:58 +0000)
CHANGES
lib/dns/sdb.c

diff --git a/CHANGES b/CHANGES
index fa27620c8157dc08e427ea781002f457342cfe5c..eab0e8d12397af7516d2f175de8b07e02a92fd39 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+1691.  [bug]           sdb's attachversion was not complete. [RT #11990]
+
 1690.  [placeholder]   rt11714
 
 1689.  [bug]           DNS_NAME_TOREGION() and DNS_NAME_SPLIT() macros
index 8b9b446ba63aaf76ee3cac83aeb9d3d916bbe498..486874788f4297c464583f3c28f36eff7377b84d 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: sdb.c,v 1.45 2004/03/05 05:09:24 marka Exp $ */
+/* $Id: sdb.c,v 1.46 2004/07/22 03:58:07 marka Exp $ */
 
 #include <config.h>
 
@@ -629,10 +629,10 @@ attachversion(dns_db_t *db, dns_dbversion_t *source,
              dns_dbversion_t **targetp)
 {
        REQUIRE(source != NULL && source == (void *) &dummy);
+       REQUIRE(targetp != NULL && *targetp == NULL);
 
        UNUSED(db);
-       UNUSED(source);
-       UNUSED(targetp);
+       *targetp = source;
        return;
 }