11/* Auto Tests: Conferences.
22 */
33
4+ #define _XOPEN_SOURCE 600
5+
46#ifdef HAVE_CONFIG_H
57#include "config.h"
68#endif
@@ -175,7 +177,7 @@ START_TEST(test_many_group)
175177 * Either way in this case it's fine */
176178 if (peer_count != NUM_GROUP_TOX ) {
177179 ++ test_run ;
178- printf ("\tError starting up the first group (peer_count %" PRIu32 " != %d, test_run = %d)\n" , peer_count , NUM_GROUP_TOX ,
180+ printf ("\tError starting up the first group (peer_count %" PRIu32 " != %d, test_run = %d)\n" , peer_count , NUM_GROUP_TOX ,
179181 test_run );
180182
181183 for (j = 0 ; j < NUM_GROUP_TOX ; ++ j ) {
@@ -194,7 +196,7 @@ START_TEST(test_many_group)
194196 * important again.
195197 */
196198 ck_assert_msg (peer_count == NUM_GROUP_TOX , "\n\tBad number of group peers (pre check)."
197- "\n\t\t\tExpected: %u but tox_instance(%u) only has: %" PRIu32 "\n\n" ,
199+ "\n\t\t\tExpected: %u but tox_instance(%u) only has: %" PRIu32 "\n\n" ,
198200 NUM_GROUP_TOX , i , peer_count );
199201
200202 uint8_t title [2048 ];
@@ -241,7 +243,7 @@ START_TEST(test_many_group)
241243 for (i = 0 ; i < (k - 1 ); ++ i ) {
242244 uint32_t peer_count = tox_conference_peer_count (toxes [i ], 0 , NULL );
243245 ck_assert_msg (peer_count == (k - 1 ), "\n\tBad number of group peers (post check)."
244- "\n\t\t\tExpected: %u but tox_instance(%u) only has: %" PRIu32 "\n\n" ,
246+ "\n\t\t\tExpected: %u but tox_instance(%u) only has: %" PRIu32 "\n\n" ,
245247 (k - 1 ), i , peer_count );
246248 }
247249 }
0 commit comments