projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e930c3b
)
Fix parameters on iochan_destroy_real
author
Dennis Schafroth
<dennis@indexdata.com>
Wed, 6 Apr 2011 08:10:25 +0000
(10:10 +0200)
committer
Dennis Schafroth
<dennis@indexdata.com>
Wed, 6 Apr 2011 08:10:25 +0000
(10:10 +0200)
src/eventl.c
patch
|
blob
|
history
diff --git
a/src/eventl.c
b/src/eventl.c
index
840b735
..
562587c
100644
(file)
--- a/
src/eventl.c
+++ b/
src/eventl.c
@@
-336,7
+336,7
@@
static int event_loop(iochan_man_t man, IOCHAN *iochans) {
for (nextp = iochans; *nextp;) {
IOCHAN p = *nextp;
if (p->destroyed && p->thread_users == 0) {
- *nextp = iochan_destroy_real(nextp);
+ *nextp = iochan_destroy_real(*nextp);
} else
nextp = &p->next;
}