- if(c->edge) {
- if(report) {
- send_del_edge(mesh, mesh->everyone, c->edge, 0);
- }
-
- edge_del(mesh, c->edge);
- c->edge = NULL;
-
- /* Run MST and SSSP algorithms */
-
- graph(mesh);
-
- /* If the node is not reachable anymore but we remember it had an edge to us, clean it up */
-
- if(report && c->node && !c->node->status.reachable) {
- edge_t *e;
- e = lookup_edge(c->node, mesh->self);
-
- if(e) {
- send_del_edge(mesh, mesh->everyone, e, 0);
- edge_del(mesh, e);
- }
- }
- }
-