summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2007-11-08 21:20:51 +0000
committerroot <root>2007-11-08 21:20:51 +0000
commitb0b230a3eb40339b6e9d84ad25686f9d3f399aef (patch)
tree2c91327314557485031eff07921fb58e13636d04
parent57bdc324ccc888c220f3184c1f6952106316762e (diff)
*** empty log message ***
-rw-r--r--event.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/event.c b/event.c
index b374e68..38e379a 100644
--- a/event.c
+++ b/event.c
@@ -251,13 +251,13 @@ int event_del (struct event *ev)
void event_active (struct event *ev, int res, short ncalls)
{
if (res & EV_TIMEOUT)
- ev_feed_event (&iosig.to, res & EV_TIMEOUT);
+ ev_feed_event (&ev->to, res & EV_TIMEOUT);
if (res & EV_SIGNAL)
- ev_feed_event (&iosig.sig, res & EV_SIGNAL);
+ ev_feed_event (&ev->iosig.sig, res & EV_SIGNAL);
if (res & (EV_READ | EV_WRITE))
- ev_feed_event (&iosig.io, res & (EV_READ | EV_WRITE));
+ ev_feed_event (&ev->iosig.io, res & (EV_READ | EV_WRITE));
}
int event_pending (struct event *ev, short events, struct timeval *tv)