X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Feventl.c;h=ddd8e540b4ddd2c1ae72805b4d2d274d3e4dbd14;hb=4208d2ae922fa0d0d61fb14a5b69a10dfefba0fc;hp=0f0d46bc20f15081d3e459063e20525647e8c30f;hpb=682faf92e6963c1b70a3b16da9bf34373cc7a4be;p=pazpar2-moved-to-github.git diff --git a/src/eventl.c b/src/eventl.c index 0f0d46b..ddd8e54 100644 --- a/src/eventl.c +++ b/src/eventl.c @@ -95,6 +95,7 @@ void iochan_man_destroy(iochan_man_t *mp) { xfree(c); c = c_next; } + yaz_mutex_destroy(&(*mp)->iochan_mutex); xfree(*mp); *mp = 0; } @@ -207,7 +208,7 @@ static int event_loop(iochan_man_t man, IOCHAN *iochans) { if (p->fd > max) max = p->fd; } - yaz_log(man->log_level, "max=%d nofds=%d", max, man->sel_fd); + yaz_log(man->log_level, "max=%d sel_fd=%d", max, man->sel_fd); if (man->sel_fd != -1) { if (man->sel_fd > max)