From: Guus Sliepen Date: Tue, 12 Dec 2006 14:54:39 +0000 (+0000) Subject: Use the correct next pointer. X-Git-Tag: release-1.0.6~9 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=b834d67d7cc7d7f5d8b729b340ec0c809c7d54b6;p=tinc Use the correct next pointer. --- 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;