From a8c8ec5d4c4e2865bb96f7089fa0996bb1a3d7f9 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Tue, 4 Jan 2011 15:02:52 +0000 Subject: [PATCH] ITS#6758 config_back_add: Don't set sr_text if compareTrue --- servers/slapd/bconfig.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.39.5