From 0c2d84819d45e6496c2a69ccc383a81fde244339 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 6 Apr 2007 00:31:08 +0000 Subject: [PATCH] Fix prev commit, config_obsolete --- servers/slapd/bconfig.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.39.5