mirror of
https://github.com/troglobit/libuev.git
synced 2026-11-14 19:03:42 +00:00
1 parent
70f04c10e1
commit
a528405258
1 file changed
-1
@@ -60,7 +60,6 @@ int uev_io_init(uev_ctx_t *ctx, uev_t *w, uev_cb_t *cb, void *arg, int fd, int e
|
|||||||
*/
|
*/
|
||||||
int uev_io_set(uev_t *w, int fd, int events)
|
int uev_io_set(uev_t *w, int fd, int events)
|
||||||
{
|
{
|
||||||
|
|
||||||
if ((events & UEV_ONESHOT) && _uev_watcher_active(w))
|
if ((events & UEV_ONESHOT) && _uev_watcher_active(w))
|
||||||
return _uev_watcher_rearm(w);
|
return _uev_watcher_rearm(w);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user