Use the correct next pointer.

This commit is contained in:
Guus Sliepen 2006-12-12 14:54:39 +00:00
parent 8b55dfacb1
commit b834d67d7c

View file

@ -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;