From: Howard Chu Date: Fri, 6 Apr 2007 00:31:08 +0000 (+0000) Subject: Fix prev commit, config_obsolete X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~542 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0c2d84819d45e6496c2a69ccc383a81fde244339;p=openldap Fix prev commit, config_obsolete --- diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index e62e27f478..b3d3eb9d92 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -2827,6 +2827,9 @@ config_updateref(ConfigArgs *c) { static int config_obsolete(ConfigArgs *c) { + if (c->op == SLAP_CONFIG_EMIT) + return 1; + snprintf( c->msg, sizeof( c->msg ), "<%s> keyword is obsolete (ignored)", c->argv[0] ); Debug(LDAP_DEBUG_ANY, "%s: %s\n", c->log, c->msg, 0);