check for non null pointer

This commit is contained in:
Marty Kraimer
2000-05-03 18:05:29 +00:00
parent 9f26b98730
commit 3ba710a304

View File

@@ -380,7 +380,7 @@ int epicsShareAPI ca_add_masked_array_event (chtype type, unsigned long count, c
status = pChan->subscribe ( type, count, mask, *pSubsr );
if ( status == ECA_NORMAL ) {
*monixptr = pSubsr;
if(monixptr) *monixptr = pSubsr;
}
return status;