# | Line 24 | Line 24 | |
---|---|---|
24 | */ | |
25 | ||
26 | #include "stdinc.h" | |
27 | + | #if USE_IOPOLL_MECHANISM == __IOPOLL_MECHANISM_EPOLL |
28 | #include "fdlist.h" | |
29 | #include "ircd.h" | |
30 | #include "memory.h" | |
# | Line 122 | Line 123 | comm_setselect(fde_t *F, unsigned int ty | |
123 | void *client_data, time_t timeout) | |
124 | { | |
125 | int new_events, op; | |
126 | < | struct epoll_event ep_event; |
126 | > | struct epoll_event ep_event = { 0, { 0 } }; |
127 | ||
128 | if ((type & COMM_SELECT_READ)) | |
129 | { | |
# | Line 217 | Line 218 | comm_select(void) | |
218 | comm_setselect(F, 0, NULL, NULL, 0); | |
219 | } | |
220 | } | |
221 | + | #endif |
# | Line 1 | Line 1 | |
---|---|---|
1 | < | Revision |
1 | > | Id Revision |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |