summaryrefslogtreecommitdiff
path: root/auto_tests/toxav_many_test.c
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2016-08-31 19:12:19 +0100
committeriphydf <iphydf@users.noreply.github.com>2016-08-31 20:04:16 +0100
commit633da98ae69866efb195e00d9a3a22ace6bada66 (patch)
tree875535f3d2257c4ea5bb97a553b2f1beab4a1590 /auto_tests/toxav_many_test.c
parent6356eb4e4fe407fa7870f2a685d0d08b5c2ec5bb (diff)
Add braces to all if statements.
Diffstat (limited to 'auto_tests/toxav_many_test.c')
-rw-r--r--auto_tests/toxav_many_test.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/auto_tests/toxav_many_test.c b/auto_tests/toxav_many_test.c
index cd9d514c..24d2ae6e 100644
--- a/auto_tests/toxav_many_test.c
+++ b/auto_tests/toxav_many_test.c
@@ -147,8 +147,9 @@ void *call_thread(void *pd)
147 } 147 }
148 } 148 }
149 149
150 while (!BobCC->incoming) 150 while (!BobCC->incoming) {
151 c_sleep(10); 151 c_sleep(10);
152 }
152 153
153 { /* Answer */ 154 { /* Answer */
154 TOXAV_ERR_ANSWER rc; 155 TOXAV_ERR_ANSWER rc;
@@ -267,8 +268,9 @@ START_TEST(test_AV_three_calls)
267 tox_friend_get_connection_status(Alice, 2, NULL) == TOX_CONNECTION_UDP && 268 tox_friend_get_connection_status(Alice, 2, NULL) == TOX_CONNECTION_UDP &&
268 tox_friend_get_connection_status(Bobs[0], 0, NULL) == TOX_CONNECTION_UDP && 269 tox_friend_get_connection_status(Bobs[0], 0, NULL) == TOX_CONNECTION_UDP &&
269 tox_friend_get_connection_status(Bobs[1], 0, NULL) == TOX_CONNECTION_UDP && 270 tox_friend_get_connection_status(Bobs[1], 0, NULL) == TOX_CONNECTION_UDP &&
270 tox_friend_get_connection_status(Bobs[2], 0, NULL) == TOX_CONNECTION_UDP) 271 tox_friend_get_connection_status(Bobs[2], 0, NULL) == TOX_CONNECTION_UDP) {
271 break; 272 break;
273 }
272 274
273 c_sleep(20); 275 c_sleep(20);
274 } 276 }