From: Howard Chu Date: Fri, 31 Jan 2003 19:44:52 +0000 (+0000) Subject: Tweak previous commit X-Git-Tag: NO_SLAP_OP_BLOCKS~457 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=945c9fb1c78d5ae21568a5ba3ac6fa952ad4f742;p=openldap Tweak previous commit --- diff --git a/servers/slapd/back-bdb/dn2id.c b/servers/slapd/back-bdb/dn2id.c index 42c6a6fa03..d3e0ede957 100644 --- a/servers/slapd/back-bdb/dn2id.c +++ b/servers/slapd/back-bdb/dn2id.c @@ -1083,7 +1083,8 @@ bdb_dn2idl( if (prefix == DN_ONE_PREFIX) { rc = avl_apply(n->i_kids, insert_one, ids, -1, AVL_INORDER); } else { - rc = bdb_idl_insert(ids, id); + ids[0] = 1; + ids[1] = id; if (n->i_kids) rc = avl_apply(n->i_kids, insert_sub, ids, -1, AVL_INORDER); }