X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fgraph.c;fp=src%2Fgraph.c;h=5b90c62578165b0872443eff1f21635334211ef4;hp=8ffd70e455892935b2675bcfa6a1f5061761f737;hb=985d19caf20058db3c764f0f6fbeafa8bcc59fcc;hpb=d178b583df9fe2bf3ebb3a7377203efc5c46df32 diff --git a/src/graph.c b/src/graph.c index 8ffd70e4..5b90c625 100644 --- a/src/graph.c +++ b/src/graph.c @@ -293,7 +293,7 @@ static void sssp_bfs(void) { if(!n->status.reachable) { update_node_udp(n, NULL); - memset(&n->status, 0, sizeof n->status); + memset(&n->status, 0, sizeof(n->status)); n->options = 0; } else if(n->connection) { send_ans_key(n);