Changeset 592 for pjproject/trunk/pjlib/src/pj/ioqueue_select.c
- Timestamp:
- Jul 8, 2006 7:46:43 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/ioqueue_select.c
r433 r592 543 543 */ 544 544 static void ioqueue_remove_from_set( pj_ioqueue_t *ioqueue, 545 pj_ sock_t fd,545 pj_ioqueue_key_t *key, 546 546 enum ioqueue_event_type event_type) 547 547 { … … 549 549 550 550 if (event_type == READABLE_EVENT) 551 PJ_FD_CLR((pj_sock_t) fd, &ioqueue->rfdset);551 PJ_FD_CLR((pj_sock_t)key->fd, &ioqueue->rfdset); 552 552 else if (event_type == WRITEABLE_EVENT) 553 PJ_FD_CLR((pj_sock_t) fd, &ioqueue->wfdset);553 PJ_FD_CLR((pj_sock_t)key->fd, &ioqueue->wfdset); 554 554 else if (event_type == EXCEPTION_EVENT) 555 PJ_FD_CLR((pj_sock_t) fd, &ioqueue->xfdset);555 PJ_FD_CLR((pj_sock_t)key->fd, &ioqueue->xfdset); 556 556 else 557 557 pj_assert(0); … … 567 567 */ 568 568 static void ioqueue_add_to_set( pj_ioqueue_t *ioqueue, 569 pj_ sock_t fd,569 pj_ioqueue_key_t *key, 570 570 enum ioqueue_event_type event_type ) 571 571 { … … 573 573 574 574 if (event_type == READABLE_EVENT) 575 PJ_FD_SET((pj_sock_t) fd, &ioqueue->rfdset);575 PJ_FD_SET((pj_sock_t)key->fd, &ioqueue->rfdset); 576 576 else if (event_type == WRITEABLE_EVENT) 577 PJ_FD_SET((pj_sock_t) fd, &ioqueue->wfdset);577 PJ_FD_SET((pj_sock_t)key->fd, &ioqueue->wfdset); 578 578 else if (event_type == EXCEPTION_EVENT) 579 PJ_FD_SET((pj_sock_t) fd, &ioqueue->xfdset);579 PJ_FD_SET((pj_sock_t)key->fd, &ioqueue->xfdset); 580 580 else 581 581 pj_assert(0);
Note: See TracChangeset
for help on using the changeset viewer.