From: Kurt Zeilenga Date: Sat, 16 Sep 2000 00:26:24 +0000 (+0000) Subject: Fix modrdn handling X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1969 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5cfb3f24a5d4f7aaeffe699db4606c9cae8b594c;p=openldap Fix modrdn handling --- diff --git a/servers/slurpd/ldap_op.c b/servers/slurpd/ldap_op.c index f55905ac6c..d02af7d1ce 100644 --- a/servers/slurpd/ldap_op.c +++ b/servers/slurpd/ldap_op.c @@ -432,7 +432,7 @@ op_ldap_modrdn( /* * Punt if we don't have all the args. */ - if ( GOT_ALL_MODDN(state) ) { + if ( !GOT_ALL_MODDN(state) ) { Debug( LDAP_DEBUG_ANY, "Error: op_ldap_modrdn: missing arguments\n", 0, 0, 0 ); *errmsg = "Missing argument: requires \"newrdn\" and \"deleteoldrdn\"";