X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fnet.c;h=d8f7d642e4ac0307d1ef6f84c9156cf70d46f75d;hb=bf55e1884e08d1bcdb9f705ed93b5b69e020dd04;hp=c05564e3fd4371ee7bc397446b8679f92a2a99d2;hpb=c2df284c9fd25cccc71e01ab9b8ea061b15747bc;p=meshlink diff --git a/src/net.c b/src/net.c index c05564e3..d8f7d642 100644 --- a/src/net.c +++ b/src/net.c @@ -234,7 +234,7 @@ static void periodic_handler(event_loop_t *loop, void *data) { outgoing connection to this node. */ cond_add_connection(mesh, mesh->nodes->count, &found_random_node); - } else if (num_unreachable > 0) { + } else if(num_unreachable > 0) { /* Min number of connections established. Now try to connect to some unreachable nodes to attempt to heal possible partitions.