From: root Date: Wed, 31 Oct 2007 21:34:45 +0000 (+0000) Subject: doh, forgot destructors X-Git-Tag: rel-0_5~75 X-Git-Url: https://git.llucax.com/software/libev.git/commitdiff_plain/5729d3bccbc199121ad453715d49f417aa932b00?ds=sidebyside doh, forgot destructors --- diff --git a/ev.c b/ev.c index 8a09326..888c779 100644 --- a/ev.c +++ b/ev.c @@ -742,11 +742,16 @@ evio_start (struct ev_io *w) ++fdchangecnt; array_needsize (fdchanges, fdchangemax, fdchangecnt, ); fdchanges [fdchangecnt - 1] = fd; + + if (w->fd == 9) + printf ("start %p:%x\n", w, w->events);//D } void evio_stop (struct ev_io *w) { + if (w->fd == 9) + printf ("stop %p:%x\n", w, w->events);//D ev_clear ((W)w); if (!ev_is_active (w)) return;