From 53563a3fc465df1c488d25a7654b44d81443e44e Mon Sep 17 00:00:00 2001 From: Charlie Brej Date: Sat, 28 Nov 2009 23:52:53 +0000 Subject: [PATCH] [list] Initialise node in the get Nth function Typo in the previous patch. --- src/libply/ply-list.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libply/ply-list.c b/src/libply/ply-list.c index 32d65d91..5e7db4e4 100644 --- a/src/libply/ply-list.c +++ b/src/libply/ply-list.c @@ -269,6 +269,7 @@ ply_list_get_nth_node (ply_list_t *list, int index) { ply_list_node_t *node; + node = list->first_node; if (index < 0) return NULL; if (index >= list->number_of_nodes)