From: Hallvard Furuseth Date: Tue, 4 Jan 2011 15:02:52 +0000 (+0000) Subject: ITS#6758 config_back_add: Don't set sr_text if compareTrue X-Git-Tag: MIGRATION_CVS2GIT~256 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a8c8ec5d4c4e2865bb96f7089fa0996bb1a3d7f9;p=openldap ITS#6758 config_back_add: Don't set sr_text if compareTrue --- diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index 7a3e18a2b9..d39bee2dbb 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -5481,6 +5481,7 @@ out2:; out:; { int repl = op->o_dont_replicate; if ( rs->sr_err == LDAP_COMPARE_TRUE ) { + rs->sr_text = NULL; /* Set after config_add_internal */ rs->sr_err = LDAP_SUCCESS; op->o_dont_replicate = 1; }