From b834d67d7cc7d7f5d8b729b340ec0c809c7d54b6 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Tue, 12 Dec 2006 14:54:39 +0000 Subject: [PATCH] Use the correct next pointer. --- src/graph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graph.c b/src/graph.c index 9dd3fa5d..be6080e0 100644 --- a/src/graph.c +++ b/src/graph.c @@ -101,7 +101,7 @@ void mst_kruskal(void) /* Starting point */ - for(node = edge_weight_tree->head; node; node = next) { + for(node = edge_weight_tree->head; node; node = node->next) { e = node->data; if(e->from->status.reachable) { e->from->status.visited = true; -- 2.39.5