]> git.sur5r.net Git - openldap/commitdiff
(partial) fix to ITS#3570: detect an error condition; the error is yet to be fixed
authorPierangelo Masarati <ando@openldap.org>
Sun, 27 Feb 2005 18:05:22 +0000 (18:05 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sun, 27 Feb 2005 18:05:22 +0000 (18:05 +0000)
servers/slapd/config.c

index 4d60f6ef08cefca0756225a16acc79f86cdbe93b..e146438081386096a54c12d0cb85c2bc449b50b2 100644 (file)
@@ -805,7 +805,8 @@ read_config(const char *fname, int depth) {
        }
        i = init_config_attrs(SystemConfiguration);
        if ( i ) return i;
-       config_back_init( &cf_prv, SystemConfiguration );
+       i = config_back_init( &cf_prv, SystemConfiguration );
+       if ( i ) return i;
        return read_config_file(fname, depth, NULL);
 }