summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorroot <root>2007-12-21 01:26:04 +0000
committerroot <root>2007-12-21 01:26:04 +0000
commit91c2e643914a5e26e943053c60055bb839204d38 (patch)
treed435fcfd588dcd8b2df8cc2e364f95052b81f179 /ev.c
parent094c041c2b9918c3c666dd5ab104c4780d2b35bb (diff)
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ev.c b/ev.c
index 2f46f79..8a92fb0 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_READ);
+ ev_io_init (&w->io, embed_io_cb, backend_fd, EV_WRITE);
}
ev_set_priority (&w->io, ev_priority (w));