# | Line 114 | Line 114 | comm_setselect(fde_t *F, unsigned int ty | |
---|---|---|
114 | (F->write_handler ? POLLOUT : 0); | |
115 | ||
116 | if (timeout != 0) | |
117 | + | { |
118 | F->timeout = CurrentTime + (timeout / 1000); | |
119 | + | F->timeout_handler = handler; |
120 | + | F->timeout_data = client_data; |
121 | + | } |
122 | ||
123 | if (new_events != F->evcache) | |
124 | { |
– | Removed lines |
+ | Added lines |
< | Changed lines (old) |
> | Changed lines (new) |