-/* $OpenBSD: identd.c,v 1.37 2017/07/04 01:07:32 dlg Exp $ */
+/* $OpenBSD: identd.c,v 1.38 2017/07/04 01:09:42 dlg Exp $ */
/*
* Copyright (c) 2013 David Gwynne <dlg@openbsd.org>
event_set(&c->ev, s, EV_READ | EV_PERSIST, identd_request, c);
event_add(&c->ev, NULL);
- event_set(&c->tmo, s, 0, identd_timeout, c);
- event_add(&c->tmo, &timeout);
+ evtimer_set(&c->tmo, identd_timeout, c);
+ evtimer_add(&c->tmo, &timeout);
}
void