Changeset 126 for pjproject/trunk/pjlib/src/pj/ioqueue_select.c
- Timestamp:
- Jan 20, 2006 9:03:36 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/ioqueue_select.c
r125 r126 424 424 } event[PJ_IOQUEUE_MAX_EVENTS_IN_SINGLE_POLL]; 425 425 426 PJ_ASSERT_RETURN(ioqueue, PJ_EINVAL);426 PJ_ASSERT_RETURN(ioqueue, -PJ_EINVAL); 427 427 428 428 /* Lock ioqueue before making fd_set copies */ … … 461 461 462 462 if (count <= 0) 463 return count;463 return -pj_get_netos_error(); 464 464 else if (count > PJ_IOQUEUE_MAX_EVENTS_IN_SINGLE_POLL) 465 465 count = PJ_IOQUEUE_MAX_EVENTS_IN_SINGLE_POLL;
Note: See TracChangeset
for help on using the changeset viewer.