]> git.sur5r.net Git - openldap/commitdiff
ITS#6758 config_back_add: Don't set sr_text if compareTrue
authorHallvard Furuseth <hallvard@openldap.org>
Tue, 4 Jan 2011 15:02:52 +0000 (15:02 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Tue, 4 Jan 2011 15:02:52 +0000 (15:02 +0000)
servers/slapd/bconfig.c

index 7a3e18a2b95d9ffe57d19de9848892fc22e1c4a1..d39bee2dbbe88c21b41a74609a6f84ad642d461f 100644 (file)
@@ -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;
                }