rsrv: send channel create failure

This commit is contained in:
Michael Davidsaver
2016-07-30 12:09:33 -04:00
parent 802f29df47
commit 8992d5a593

View File

@@ -1278,6 +1278,12 @@ static int claim_ciu_action ( caHdrLargeArray *mp,
dbch = dbChannel_create (pName);
if (!dbch) {
SEND_LOCK(client);
status = cas_copy_in_header ( client,
CA_PROTO_CREATE_CH_FAIL, 0, 0, 0, mp->m_cid, 0, NULL );
if (status == ECA_NORMAL)
cas_commit_msg ( client, 0u );
SEND_UNLOCK(client);
return RSRV_OK;
}