Two returns did not return value when they should have.

This commit is contained in:
Marty Kraimer
1994-09-02 13:44:03 +00:00
parent 35d71a05d1
commit ec0d6fd35e

View File

@@ -212,7 +212,7 @@ void *pArg; /* I pointer to arg, as required by funcCode */
}
else if (funcCode == SYD_FC_READ) {
if ((pCh = (chid)pSChan->pHandle) == NULL)
return;
return retStat;
if (pSChan->evid == NULL) {
if (pSChan->pSspec->monFn == NULL) {
stat = ca_add_masked_array_event(pSChan->dbrType,
@@ -237,7 +237,7 @@ void *pArg; /* I pointer to arg, as required by funcCode */
}
else if (funcCode == SYD_FC_STOP) {
if ((pCh = (chid)pSChan->pHandle) == NULL)
return;
return retStat;
if (pSChan->evid == NULL) {
ca_clear_event(pSChan->evid);
pSChan->evid = NULL;