From 48ee1e7021b320d06f89974dada5ad03c4bee371 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 20 Mar 2005 09:24:35 +0000 Subject: [PATCH] Fix prev commit --- servers/slapd/bconfig.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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); } -- 2.39.5