summaryrefslogtreecommitdiff
path: root/src/core/ignore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ignore.c')
-rw-r--r--src/core/ignore.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/ignore.c b/src/core/ignore.c
index 8c7c5d12..c98646c1 100644
--- a/src/core/ignore.c
+++ b/src/core/ignore.c
@@ -408,7 +408,8 @@ static void read_ignores(void)
return;
}
- for (tmp = node->value; tmp != NULL; tmp = tmp->next) {
+ tmp = config_node_first(node->value);
+ for (; tmp != NULL; tmp = config_node_next(tmp)) {
node = tmp->data;
if (node->type != NODE_TYPE_BLOCK)