]> git.sur5r.net Git - openldap/commitdiff
Fix previous commit
authorHoward Chu <hyc@openldap.org>
Sat, 19 Jan 2002 04:59:39 +0000 (04:59 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 19 Jan 2002 04:59:39 +0000 (04:59 +0000)
servers/slapd/backglue.c

index ca467b19140af5e58bd277ca6b84d5bdcfb60d99..c68c1708dd1f0907ed14477f6457c9cbc875a9e1 100644 (file)
@@ -905,8 +905,8 @@ glue_sub_init( )
                                        != LDAP_SUCCESS ) {
                                return -1;
                        }
-                       bv.bv_len = be->be_nsuffix[0]->bv_len - (bv.bv_val -
-                               be->be_nsuffix[0]->bv_val);
+                       bv.bv_len = b1->be_nsuffix[0]->bv_len - (bv.bv_val -
+                               b1->be_nsuffix[0]->bv_val);
                        gi->n[gi->nodes].pdn = bv;
                        gi->nodes++;
                        b1->be_private = gi;