libev migration: reinstantiate MX-Relay; unfinished.
[citadel.git] / citadel / modules / eventclient / serv_eventclient.c
index a858048da260cddd16bbf6c90564ad51acaa1622..ec6af084e856aa51f08908fa2d4a29eac991c29b 100644 (file)
@@ -97,7 +97,7 @@ static void QueueEventAddCallback(struct ev_loop *loop, ev_io *watcher, int reve
                while (GetNextHashPos(q, It, &len, &Key, &v))
                {
                        IOAddHandler *h = v;
-                       h->EvAttch(h->Ctx);
+                       h->EvAttch(h->IO);
                }
                DeleteHashPos(&It);
                DeleteHashContent(&q);