From 945c9fb1c78d5ae21568a5ba3ac6fa952ad4f742 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 31 Jan 2003 19:44:52 +0000 Subject: [PATCH] Tweak previous commit --- servers/slapd/back-bdb/dn2id.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.39.5