X-Git-Url: http://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fgraph.c;h=f9434cad15241de0aafb0828bb626ba3ebe22e1f;hb=288990c809f818ccb87d04234b783efd0a2c0276;hp=216f9de2754d054213bc08ee25892fba171bc6d9;hpb=15a110013b50c53e4d943b9251ed94d0cbdfea85;p=tinc diff --git a/src/graph.c b/src/graph.c index 216f9de2..f9434cad 100644 --- a/src/graph.c +++ b/src/graph.c @@ -160,7 +160,7 @@ void sssp_dijkstra(void) { /* Mark this node as visited and remove it from the todo_list */ n->status.visited = true; - list_unlink_node(todo_list, nnode); + list_delete_node(todo_list, nnode); /* Update distance of neighbours and add them to the todo_list */