From 939028b43f68ca4cadbf233a1cb87a58fc62e022 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 24 Nov 2001 03:44:28 +0000 Subject: [PATCH] Fixed initialization bug. --- servers/slapd/back-bdb/dn2id.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.39.5