diff options
Diffstat (limited to 'auto_tests/tox_test.c')
-rw-r--r-- | auto_tests/tox_test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/auto_tests/tox_test.c b/auto_tests/tox_test.c index 9b63b35b..d7f8645e 100644 --- a/auto_tests/tox_test.c +++ b/auto_tests/tox_test.c | |||
@@ -235,6 +235,7 @@ START_TEST(test_few_clients) | |||
235 | uint8_t *f_data = malloc(fpiece_size); | 235 | uint8_t *f_data = malloc(fpiece_size); |
236 | uint8_t num = 0; | 236 | uint8_t num = 0; |
237 | memset(f_data, num, fpiece_size); | 237 | memset(f_data, num, fpiece_size); |
238 | |||
238 | while (1) { | 239 | while (1) { |
239 | file_sent = 0; | 240 | file_sent = 0; |
240 | tox_do(tox1); | 241 | tox_do(tox1); |
@@ -247,6 +248,7 @@ START_TEST(test_few_clients) | |||
247 | sendf_ok = 0; | 248 | sendf_ok = 0; |
248 | tox_file_send_control(tox2, 0, 0, fnum, TOX_FILECONTROL_FINISHED, NULL, 0); | 249 | tox_file_send_control(tox2, 0, 0, fnum, TOX_FILECONTROL_FINISHED, NULL, 0); |
249 | } | 250 | } |
251 | |||
250 | ++num; | 252 | ++num; |
251 | memset(f_data, num, fpiece_size); | 253 | memset(f_data, num, fpiece_size); |
252 | 254 | ||