]> git.sur5r.net Git - openldap/commitdiff
ITS#211 ldbmcat core dump fix due to #if[n]def HAVE_BERKELEY_DB typo
authorKurt Zeilenga <kurt@openldap.org>
Thu, 9 Sep 1999 21:16:05 +0000 (21:16 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 9 Sep 1999 21:16:05 +0000 (21:16 +0000)
CHANGES
servers/slapd/tools/ldbmcat.c

diff --git a/CHANGES b/CHANGES
index 956a002767a5fb4f0aee3b6134f693dfc06fff64..423de2d6a7e0c3e5f0ff0124bb998bcffd206eb1 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -11,6 +11,7 @@ Changes included in OpenLDAP 1.2 Release Engineering
        Fixed slapd (cn=*=+=*) regex bug (ITS#272)
        Fixed -lldap (cn=*\**) filter handling (ITS#247 ITS#275)
        Fixed slapd errno handling
+       Fixed ldbmcat crash (ITS#211 ITS#283)
        Build environment
                Disable config.cache to ensure consistent detection
        Documentation
index 3d9f5b4ce7708adf0977e15424c9e409dd24d39b..b4db2b6a7c85653b4c92035b9e497a94fef3f19a 100644 (file)
@@ -89,7 +89,7 @@ main( int argc, char **argv )
 
                 last = key;
         }
-#ifdef HAVE_BERKELEY_DB2
+#ifndef HAVE_BERKELEY_DB2
         if ( last.dptr != NULL )
                 ldbm_datum_free( dbp, last );
 #endif