]> git.sur5r.net Git - openldap/commitdiff
:)
authorPierangelo Masarati <ando@openldap.org>
Thu, 27 Dec 2001 18:10:25 +0000 (18:10 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 27 Dec 2001 18:10:25 +0000 (18:10 +0000)
servers/slapd/modrdn.c

index 7a443063fcbd51d210667ef8ccfbc971d62b7e3c..e5a9de9bb529f283f47cab4f3623d57b8c517cc4 100644 (file)
@@ -265,7 +265,7 @@ do_modrdn(
                goto cleanup;
        }
 
-       if( rdnValidate( pnewrdn ) == LDAP_SUCCESS ) {
+       if( rdnValidate( pnewrdn ) != LDAP_SUCCESS ) {
 #ifdef NEW_LOGGING
                LDAP_LOG(( "operation", LDAP_LEVEL_ERR,
                        "do_modrdn: invalid rdn (%s).\n", pnewrdn->bv_val ));