From: Howard Chu Date: Sat, 11 Jun 2005 00:53:28 +0000 (+0000) Subject: Fix prev commit X-Git-Tag: OPENLDAP_AC_BP~549 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0dc29f4dd46e6d055b1306266517942389562b40;p=openldap Fix prev commit --- 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 )) {