- Timestamp:
- Apr 6, 2007 10:25:23 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/pjproject-0.5-stable/pjlib/src/pj/ioqueue_select.c
r974 r1158 557 557 else if (event_type == WRITEABLE_EVENT) 558 558 PJ_FD_CLR((pj_sock_t)key->fd, &ioqueue->wfdset); 559 #if defined(PJ_HAS_TCP) && PJ_HAS_TCP!=0 559 560 else if (event_type == EXCEPTION_EVENT) 560 561 PJ_FD_CLR((pj_sock_t)key->fd, &ioqueue->xfdset); 562 #endif 561 563 else 562 564 pj_assert(0); … … 581 583 else if (event_type == WRITEABLE_EVENT) 582 584 PJ_FD_SET((pj_sock_t)key->fd, &ioqueue->wfdset); 585 #if defined(PJ_HAS_TCP) && PJ_HAS_TCP!=0 583 586 else if (event_type == EXCEPTION_EVENT) 584 587 PJ_FD_SET((pj_sock_t)key->fd, &ioqueue->xfdset); 588 #endif 585 589 else 586 590 pj_assert(0); … … 650 654 */ 651 655 if (PJ_FD_COUNT(&ioqueue->rfdset)==0 && 652 PJ_FD_COUNT(&ioqueue->wfdset)==0 && 653 PJ_FD_COUNT(&ioqueue->xfdset)==0) 656 PJ_FD_COUNT(&ioqueue->wfdset)==0 657 #if defined(PJ_HAS_TCP) && PJ_HAS_TCP!=0 658 && PJ_FD_COUNT(&ioqueue->xfdset)==0 659 #endif 660 ) 654 661 { 655 662 #if PJ_IOQUEUE_HAS_SAFE_UNREG
Note: See TracChangeset
for help on using the changeset viewer.