From cc61578fcb1f6351db760be425ab42d80aa34ea7 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Fri, 20 Jan 2006 02:07:24 +0100 Subject: [PATCH] Fix node pushing in walk_dom_nodes() --- src/dom/stack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dom/stack.c b/src/dom/stack.c index 61bd75a6..328a7ef4 100644 --- a/src/dom/stack.c +++ b/src/dom/stack.c @@ -420,7 +420,7 @@ walk_dom_nodes(struct dom_stack *stack, struct dom_node *root) if (is_dom_node_list_member(list, wstate->index)) { struct dom_node *child = list->entries[wstate->index++]; - if (push_dom_node(stack, child)) + if (push_dom_node(stack, child) == DOM_STACK_CODE_OK) continue; }