Add missing braces in dht_test.c.

astyle doesn't catch all of these.
This commit is contained in:
iphydf 2018-07-19 21:39:13 +00:00 committed by Robin Lindén
parent affaaee210
commit c1b7edbed3
No known key found for this signature in database
GPG Key ID: 601A604B7E605776

View File

@ -387,9 +387,10 @@ static void test_addto_lists(IP ip)
// check "good" entries // check "good" entries
test_addto_lists_good(dht, dht->close_clientlist, LCLIENT_LIST, &ip_port, dht->self_public_key); test_addto_lists_good(dht, dht->close_clientlist, LCLIENT_LIST, &ip_port, dht->self_public_key);
for (i = 0; i < dht->num_friends; ++i) for (i = 0; i < dht->num_friends; ++i) {
test_addto_lists_good(dht, dht->friends_list[i].client_list, MAX_FRIEND_CLIENTS, &ip_port, test_addto_lists_good(dht, dht->friends_list[i].client_list, MAX_FRIEND_CLIENTS, &ip_port,
dht->friends_list[i].public_key); dht->friends_list[i].public_key);
}
kill_dht(dht); kill_dht(dht);
kill_networking(net); kill_networking(net);