From: Pierangelo Masarati Date: Thu, 27 Dec 2001 18:10:25 +0000 (+0000) Subject: :) X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~449 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cd06dac298dfec2074170a48be002b5c4117dc99;p=openldap :) --- 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 ));