X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Feventl.c;h=ab738a608523b318d1ae8f1f12dd68df6635b127;hb=0df08cf93e60b248e8ec8cf44e3fd7b784e6ef78;hp=0f0d46bc20f15081d3e459063e20525647e8c30f;hpb=682faf92e6963c1b70a3b16da9bf34373cc7a4be;p=pazpar2-moved-to-github.git diff --git a/src/eventl.c b/src/eventl.c index 0f0d46b..ab738a6 100644 --- a/src/eventl.c +++ b/src/eventl.c @@ -1,5 +1,5 @@ /* This file is part of Pazpar2. - Copyright (C) 2006-2010 Index Data + Copyright (C) 2006-2011 Index Data Pazpar2 is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -20,7 +20,7 @@ /* * Based on ParaZ - a simple tool for harvesting performance data for * parallel operations using Z39.50. - * Copyright (C) 2006-2010 Index Data ApS + * Copyright (C) 2006-2011 Index Data ApS * See LICENSE file for details. */ @@ -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)