From: Howard Chu Date: Sat, 24 Nov 2001 03:44:28 +0000 (+0000) Subject: Fixed initialization bug. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~841 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=939028b43f68ca4cadbf233a1cb87a58fc62e022;p=openldap Fixed initialization bug. --- diff --git a/servers/slapd/back-bdb/dn2id.c b/servers/slapd/back-bdb/dn2id.c index 9b4573b7ec..3395d47fbb 100644 --- a/servers/slapd/back-bdb/dn2id.c +++ b/servers/slapd/back-bdb/dn2id.c @@ -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 */