summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libcnary/node_iterator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcnary/node_iterator.c b/libcnary/node_iterator.c
index dedf3b4..e629b73 100644
--- a/libcnary/node_iterator.c
+++ b/libcnary/node_iterator.c
@@ -47,7 +47,7 @@ node_iterator_t* node_iterator_create(node_list_t* list) {
iterator->end = NULL;
iterator->begin = NULL;
- iterator->value = list->begin;
+ iterator->value = NULL;
iterator->list = NULL;
iterator->next = node_iterator_next;