- ldap_pvt_thread_mutex_unlock( &op->o_conn->c_mutex );
- rs->sr_text = "message ID not found";
- return LDAP_NO_SUCH_OPERATION;
- }
-
- if ( op->o_cancel != SLAP_CANCEL_NONE ) {
- ldap_pvt_thread_mutex_unlock( &op->o_conn->c_mutex );
- rs->sr_text = "message ID already being cancelled";
- return LDAP_PROTOCOL_ERROR;
- }