projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace the connection_tree with a connection_list.
[tinc]
/
src
/
logger.c
diff --git
a/src/logger.c
b/src/logger.c
index
56bee84
..
5de88bd
100644
(file)
--- a/
src/logger.c
+++ b/
src/logger.c
@@
-140,7
+140,8
@@
void logger(int level, int priority, const char *format, ...) {
if(logcontrol) {
suppress = true;
logcontrol = false;
if(logcontrol) {
suppress = true;
logcontrol = false;
- for(splay_node_t *node = connection_tree->head; node; node = node->next) {
+ for(list_node_t *node = connection_list->head, *next; node; node = next) {
+ next = node->next;
connection_t *c = node->data;
if(!c->status.log)
continue;
connection_t *c = node->data;
if(!c->status.log)
continue;