commit - ac8bf7dc9ad71b20ffe81ce80b7df061c710ffa7
commit + 3931a8a4404d58250d0d16467474bfba2cc215c2
blob - 6e5a1fefead2c988b80631336d106254007434f7
blob + d7e43c48876932a301c2aa803f93172a823359ec
--- gotd/session.c
+++ gotd/session.c
}
static void
-session_dispatch_listener(int fd, short events, void *arg)
+session_dispatch_client(int fd, short events, void *arg)
{
struct gotd_imsgev *iev = arg;
struct imsgbuf *ibuf = &iev->ibuf;
client->egid = iconnect.egid;
imsg_init(&client->iev.ibuf, client->fd);
- client->iev.handler = session_dispatch_listener;
+ client->iev.handler = session_dispatch_client;
client->iev.events = EV_READ;
client->iev.handler_arg = NULL;
event_set(&client->iev.ev, client->iev.ibuf.fd, EV_READ,
- session_dispatch_listener, &client->iev);
+ session_dispatch_client, &client->iev);
gotd_imsg_event_add(&client->iev);
evtimer_set(&client->tmo, gotd_request_timeout, client);