git.droids-corp.org
/
protos
/
libecoli.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c396da4
)
weakref fix
author
Olivier Matz
<zer0@droids-corp.org>
Thu, 3 Aug 2017 20:31:04 +0000
(22:31 +0200)
committer
Olivier Matz
<zer0@droids-corp.org>
Thu, 3 Aug 2017 20:31:04 +0000
(22:31 +0200)
lib/ecoli_node_weakref.c
patch
|
blob
|
history
diff --git
a/lib/ecoli_node_weakref.c
b/lib/ecoli_node_weakref.c
index
735f831
..
3e202d3
100644
(file)
--- a/
lib/ecoli_node_weakref.c
+++ b/
lib/ecoli_node_weakref.c
@@
-93,7
+93,8
@@
int ec_node_weakref_set(struct ec_node *gen_node, struct ec_node *child)
node->child = child;
child->parent = gen_node;
- TAILQ_INSERT_TAIL(&gen_node->children, child, next); // XXX really needed?
+ // XXX else it breaks the dump()
+ //TAILQ_INSERT_TAIL(&gen_node->children, child, next); // XXX really needed?
return 0;
}