From: Pierangelo Masarati Date: Sun, 27 Feb 2005 18:05:22 +0000 (+0000) Subject: (partial) fix to ITS#3570: detect an error condition; the error is yet to be fixed X-Git-Tag: OPENLDAP_REL_ENG_2_3_BP~122 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f93aec341c074fc2a9986310574112ea33d61c30;p=openldap (partial) fix to ITS#3570: detect an error condition; the error is yet to be fixed --- diff --git a/servers/slapd/config.c b/servers/slapd/config.c index 4d60f6ef08..e146438081 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -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); }