]> git.sur5r.net Git - openldap/commitdiff
Fixed initialization bug.
authorHoward Chu <hyc@openldap.org>
Sat, 24 Nov 2001 03:44:28 +0000 (03:44 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 24 Nov 2001 03:44:28 +0000 (03:44 +0000)
servers/slapd/back-bdb/dn2id.c

index 9b4573b7ec4a04b6b1ed1b43ac755e258daecc82..3395d47fbbecfb9c573d585979df5149315e60b5 100644 (file)
@@ -372,7 +372,7 @@ bdb_dn2idl(
        /* store the ID */
        DBTzero( &data );
        data.data = ids;
-       data.ulen = sizeof(ID);
+       data.ulen = BDB_IDL_UM_SIZEOF;  
        data.flags = DB_DBT_USERMEM;
 
        /* fetch it */