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