]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit
authorHoward Chu <hyc@openldap.org>
Sun, 5 Dec 2004 07:30:12 +0000 (07:30 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 5 Dec 2004 07:30:12 +0000 (07:30 +0000)
servers/slapd/overlays/glue.c

index c40c95109bb42b0de03324aa636ea3e31790eda4..3dee4ef293c782c3cbba38688eafd1b86fb50d98 100644 (file)
@@ -684,13 +684,9 @@ glue_db_close(
 )
 {
        slap_overinst   *on = (slap_overinst *)be->bd_info;
-       int rc = 0;
 
-       if ( on->on_info->oi_orig->bi_db_close ) {
-               rc = on->on_info->oi_orig->bi_db_close( be );
-               on->on_info->oi_orig->bi_db_close = NULL;
-       }
-       return rc;
+       on->on_info->oi_bi.bi_db_close = NULL;
+       return 0;
 }
 
 static int