]> git.llucax.com Git - software/libev.git/commitdiff
*** empty log message ***
authorroot <root>
Fri, 21 Dec 2007 02:40:01 +0000 (02:40 +0000)
committerroot <root>
Fri, 21 Dec 2007 02:40:01 +0000 (02:40 +0000)
ev.c

diff --git a/ev.c b/ev.c
index 8a92fb03be15145f30d571765ae7b6eacf86f55c..2f46f79ba9567441c8112c087997daee11361155 100644 (file)
--- 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));