]> git.sur5r.net Git - openldap/commitdiff
Fix startup check
authorHoward Chu <hyc@openldap.org>
Mon, 21 Mar 2005 10:32:28 +0000 (10:32 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 21 Mar 2005 10:32:28 +0000 (10:32 +0000)
servers/slapd/bconfig.c

index 0faa3a50838d7eabf9549088ac256f5c0f16d933..98d07819db92e9532d410e59f5ddfc48ec33eb52 100644 (file)
@@ -2770,13 +2770,14 @@ read_config(const char *fname, const char *dir) {
        if ( !be )
                return 1;
 
+       cfb = be->be_private;
+
        /* Setup the underlying back-ldif backend */
        if ( config_setup_ldif( be, dir ))
                return 1;
 
-#if 0  /* not yet
+#if 0  /* not yet */
        /* If we read the config from back-ldif, nothing to do here */
-       cfb = be->be_private;
        if ( cfb->cb_got_ldif )
                return 0;
 #endif