projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Properly use the timeout_initialized() macro.
[tinc]
/
src
/
graph.c
diff --git
a/src/graph.c
b/src/graph.c
index
02650f7
..
9589477
100644
(file)
--- a/
src/graph.c
+++ b/
src/graph.c
@@
-376,7
+376,7
@@
void graph(void)
sssp_bfs();
mst_kruskal();
- if(!
ev.ev_callback
)
+ if(!
timeout_initialized(&ev)
)
timeout_set(&ev, dump_graph, NULL);
event_add(&ev, &(struct timeval){5, 0});
}