From cd06dac298dfec2074170a48be002b5c4117dc99 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Thu, 27 Dec 2001 18:10:25 +0000 Subject: [PATCH] :) --- servers/slapd/modrdn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/modrdn.c b/servers/slapd/modrdn.c index 7a443063fc..e5a9de9bb5 100644 --- a/servers/slapd/modrdn.c +++ b/servers/slapd/modrdn.c @@ -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 )); -- 2.39.5