]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/slapi/plugin.c
Fix slapi_modify_internal() to deal with just the modification type of
[openldap] / servers / slapd / slapi / plugin.c
index e2c87669642d2f3f600db8952eadf880eedb834c..70ebf60ef3185abaebb7e84df863609bad54b1a1 100644 (file)
@@ -449,7 +449,7 @@ newExtendedOp(
        }
 
        rc = slapi_pblock_get( pPB,SLAPI_PLUGIN_EXT_OP_OIDLIST, &pTmpOIDs );
-       if ( rc != LDAP_SUCCESS ) {
+       if ( rc != 0 ) {
                rc = LDAP_OTHER;
                goto error_return;
        }