From: root Date: Fri, 21 Dec 2007 02:40:01 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: rel-2_0~19 X-Git-Url: https://git.llucax.com/software/libev.git/commitdiff_plain/1e3492c82b3ca91bb8e1908ec622ec18892931b7 *** empty log message *** --- diff --git a/ev.c b/ev.c index 8a92fb0..2f46f79 100644 --- a/ev.c +++ b/ev.c @@ -2215,7 +2215,7 @@ ev_embed_start (EV_P_ ev_embed *w) { struct ev_loop *loop = w->other; assert (("loop to be embedded is not embeddable", backend & ev_embeddable_backends ())); - ev_io_init (&w->io, embed_io_cb, backend_fd, EV_WRITE); + ev_io_init (&w->io, embed_io_cb, backend_fd, EV_READ); } ev_set_priority (&w->io, ev_priority (w));