Commit 3edc6c16 authored by Nils Goroll's avatar Nils Goroll Committed by Geoff Simmons

transition a node to delivered also when children are pruned

parent 43e33719
......@@ -503,7 +503,7 @@ set_closed(struct bytes_tree *tree, struct node *node, const struct worker *wrk)
if (node->type == T_NEXUS)
VSTAILQ_FOREACH(child, &node->nexus.children, sibling)
if (child->state != ST_DELIVERED)
if (child->state < ST_DELIVERED)
return;
set_delivered(tree, node);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment