]> git.sur5r.net Git - openldap/commitdiff
Tweak previous commit
authorHoward Chu <hyc@openldap.org>
Fri, 31 Jan 2003 19:44:52 +0000 (19:44 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 31 Jan 2003 19:44:52 +0000 (19:44 +0000)
servers/slapd/back-bdb/dn2id.c

index 42c6a6fa03fd3be55328e14ff8bfddd19ccfd253..d3e0ede9573c6ec4662491a7f763a00bb76ffeea 100644 (file)
@@ -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);
        }