From f93aec341c074fc2a9986310574112ea33d61c30 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sun, 27 Feb 2005 18:05:22 +0000 Subject: [PATCH] (partial) fix to ITS#3570: detect an error condition; the error is yet to be fixed --- servers/slapd/config.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.39.5