projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update the NEWS.
[tinc]
/
src
/
graph.c
diff --git
a/src/graph.c
b/src/graph.c
index
4f2ea49
..
148f23c
100644
(file)
--- a/
src/graph.c
+++ b/
src/graph.c
@@
-73,8
+73,6
@@
void mst_kruskal(void) {
int safe_edges = 0;
bool skipped;
int safe_edges = 0;
bool skipped;
- cp();
-
/* Clear MST status on connections */
for(node = connection_tree->head; node; node = node->next) {
/* Clear MST status on connections */
for(node = connection_tree->head; node; node = node->next) {
@@
-159,8
+157,6
@@
void sssp_bfs(void) {
char *envp[7];
int i;
char *envp[7];
int i;
- cp();
-
todo_list = list_alloc(NULL);
/* Clear visited status on nodes */
todo_list = list_alloc(NULL);
/* Clear visited status on nodes */
@@
-245,10
+241,10
@@
void sssp_bfs(void) {
n->status.reachable = !n->status.reachable;
if(n->status.reachable) {
n->status.reachable = !n->status.reachable;
if(n->status.reachable) {
- ifdebug(TRAFFIC) logger(LOG_DEBUG,
_("Node %s (%s) became reachable")
,
+ ifdebug(TRAFFIC) logger(LOG_DEBUG,
"Node %s (%s) became reachable"
,
n->name, n->hostname);
} else {
n->name, n->hostname);
} else {
- ifdebug(TRAFFIC) logger(LOG_DEBUG,
_("Node %s (%s) became unreachable")
,
+ ifdebug(TRAFFIC) logger(LOG_DEBUG,
"Node %s (%s) became unreachable"
,
n->name, n->hostname);
}
n->name, n->hostname);
}