summaryrefslogtreecommitdiff
path: root/auto_tests/TCP_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'auto_tests/TCP_test.c')
-rw-r--r--auto_tests/TCP_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auto_tests/TCP_test.c b/auto_tests/TCP_test.c
index 98edc357..2efed98f 100644
--- a/auto_tests/TCP_test.c
+++ b/auto_tests/TCP_test.c
@@ -522,7 +522,7 @@ END_TEST
522 522
523#include "../toxcore/TCP_connection.h" 523#include "../toxcore/TCP_connection.h"
524 524
525_Bool tcp_data_callback_called; 525bool tcp_data_callback_called;
526static int tcp_data_callback(void *object, int id, const uint8_t *data, uint16_t length, void *userdata) 526static int tcp_data_callback(void *object, int id, const uint8_t *data, uint16_t length, void *userdata)
527{ 527{
528 if (object != (void *)120397) { 528 if (object != (void *)120397) {
@@ -631,7 +631,7 @@ START_TEST(test_tcp_connection)
631} 631}
632END_TEST 632END_TEST
633 633
634_Bool tcp_oobdata_callback_called; 634bool tcp_oobdata_callback_called;
635static int tcp_oobdata_callback(void *object, const uint8_t *public_key, unsigned int id, const uint8_t *data, 635static int tcp_oobdata_callback(void *object, const uint8_t *public_key, unsigned int id, const uint8_t *data,
636 uint16_t length, void *userdata) 636 uint16_t length, void *userdata)
637{ 637{