projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use yaz_gettimeofday
[pazpar2-moved-to-github.git]
/
src
/
eventl.c
diff --git
a/src/eventl.c
b/src/eventl.c
index
0f0d46b
..
ddd8e54
100644
(file)
--- 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;
}
xfree(c);
c = c_next;
}
+ yaz_mutex_destroy(&(*mp)->iochan_mutex);
xfree(*mp);
*mp = 0;
}
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;
}
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)
if (man->sel_fd != -1) {
if (man->sel_fd > max)