]> git.sur5r.net Git - openldap/commitdiff
Fix modrdn handling
authorKurt Zeilenga <kurt@openldap.org>
Sat, 16 Sep 2000 00:26:24 +0000 (00:26 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 16 Sep 2000 00:26:24 +0000 (00:26 +0000)
servers/slurpd/ldap_op.c

index f55905ac6c27a2780eb5e84f15f9974af1795d11..d02af7d1ce1d13064dfe9b0b1171c48a3cc52942 100644 (file)
@@ -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\"";