]> git.sur5r.net Git - openldap/commitdiff
Fix glue_sub_init realloc disconnect
authorHoward Chu <hyc@openldap.org>
Sun, 20 Apr 2003 09:18:02 +0000 (09:18 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 20 Apr 2003 09:18:02 +0000 (09:18 +0000)
servers/slapd/backglue.c

index a5ba374aaaca8f6e563360c9287fc488f092f57f..697ef05c0830dbcee15d7ca1a614a89e91cb2ec9 100644 (file)
@@ -606,7 +606,7 @@ glue_sub_init( )
                        gi->n[gi->nodes].be = &gi->bd;
                        dnParent( &b1->be_nsuffix[0], &gi->n[gi->nodes].pdn );
                        gi->nodes++;
-                       b1->bd_info = bi;
+                       b1->bd_info = (BackendInfo *)gi;
                }
        }
        /* If there are any unresolved subordinates left, something is wrong */