dont allow them to add an event which does not select anything (has a nill mask)

This commit is contained in:
Jeff Hill
1992-03-20 18:23:32 +00:00
parent 90636dfd74
commit fbc9f870e4
+5
View File
@@ -57,6 +57,8 @@
/* 031292 joh clear pend recv cnt even if its a poll in */
/* ca_pend_io() */
/* 031892 joh initial broadcast retry delay is now a #define */
/* 032092 joh dont allow them to add an event which does not */
/* select anything (has a nill mask) */
/* */
/*_begin */
/************************************************************************/
@@ -1539,6 +1541,9 @@ unsigned mask;
if(count > chix->count && chix->type != TYPENOTCONN)
return ECA_BADCOUNT;
if(!mask)
return ECA_BADMASK;
LOCK;
/* event descriptor */