From: Howard Chu Date: Sun, 20 Mar 2005 09:24:35 +0000 (+0000) Subject: Fix prev commit X-Git-Tag: OPENLDAP_REL_ENG_2_3_BP~20 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=48ee1e7021b320d06f89974dada5ad03c4bee371;p=openldap Fix prev commit --- diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index 7d83d93d16..fc791ec4d3 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -1063,10 +1063,13 @@ config_generic(ConfigArgs *c) { static int config_fname(ConfigArgs *c) { - if(c->op == SLAP_CONFIG_EMIT && c->line) { - ConfigFile *cf = (ConfigFile *)c->line; - value_add_one( &c->rvalue_vals, &cf->c_file ); - return 0; + if(c->op == SLAP_CONFIG_EMIT) { + if (c->line) { + ConfigFile *cf = (ConfigFile *)c->line; + value_add_one( &c->rvalue_vals, &cf->c_file ); + return 0; + } + return 1; } return(0); }