From 0dc29f4dd46e6d055b1306266517942389562b40 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 11 Jun 2005 00:53:28 +0000 Subject: [PATCH] Fix prev commit --- servers/slapd/bconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index 8c4d873cfb..e375810105 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -1161,7 +1161,7 @@ config_generic(ConfigArgs *c) { /* If we're just adding a module on an existing modpath, * make sure we've selected the current path. */ - if ( c->op == LDAP_MOD_ADD && modcur != c->private ) { + if ( c->op == LDAP_MOD_ADD && c->private && modcur != c->private ) { modcur = c->private; /* This should never fail */ if ( module_path( modcur->mp_path.bv_val )) { -- 2.39.5