diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-07-19 21:39:13 +0000 |
---|---|---|
committer | Robin Lindén <dev@robinlinden.eu> | 2018-07-21 13:01:34 +0200 |
commit | c1b7edbed33f3f43e361d256cf7c8a7692d28462 (patch) | |
tree | 271f8d1c3ff394b74fbbd7fb52d1c8302dd8aecd /auto_tests/dht_test.c | |
parent | affaaee210633608da052724949f77067c22769e (diff) |
Add missing braces in dht_test.c.
astyle doesn't catch all of these.
Diffstat (limited to 'auto_tests/dht_test.c')
-rw-r--r-- | auto_tests/dht_test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/auto_tests/dht_test.c b/auto_tests/dht_test.c index 1d519951..5c40e2c9 100644 --- a/auto_tests/dht_test.c +++ b/auto_tests/dht_test.c | |||
@@ -387,9 +387,10 @@ static void test_addto_lists(IP ip) | |||
387 | // check "good" entries | 387 | // check "good" entries |
388 | test_addto_lists_good(dht, dht->close_clientlist, LCLIENT_LIST, &ip_port, dht->self_public_key); | 388 | test_addto_lists_good(dht, dht->close_clientlist, LCLIENT_LIST, &ip_port, dht->self_public_key); |
389 | 389 | ||
390 | for (i = 0; i < dht->num_friends; ++i) | 390 | for (i = 0; i < dht->num_friends; ++i) { |
391 | test_addto_lists_good(dht, dht->friends_list[i].client_list, MAX_FRIEND_CLIENTS, &ip_port, | 391 | test_addto_lists_good(dht, dht->friends_list[i].client_list, MAX_FRIEND_CLIENTS, &ip_port, |
392 | dht->friends_list[i].public_key); | 392 | dht->friends_list[i].public_key); |
393 | } | ||
393 | 394 | ||
394 | kill_dht(dht); | 395 | kill_dht(dht); |
395 | kill_networking(net); | 396 | kill_networking(net); |