From 6f487100cdad28337cd8da6b301a5983852f4db4 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Tue, 20 Aug 2024 12:35:42 -0400 Subject: [PATCH] Format. --- src/ssb.tests.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/ssb.tests.c b/src/ssb.tests.c index 0bb830fb..f0b36bbe 100644 --- a/src/ssb.tests.c +++ b/src/ssb.tests.c @@ -871,7 +871,8 @@ void tf_ssb_test_encrypt(const tf_test_options_t* options) assert(WEXITSTATUS(result) == 0); } -static void _count_broadcasts_callback(const char* host, const struct sockaddr_in* addr, tf_ssb_broadcast_origin_t origin, tf_ssb_connection_t* tunnel, const uint8_t* pub, void* user_data) +static void _count_broadcasts_callback( + const char* host, const struct sockaddr_in* addr, tf_ssb_broadcast_origin_t origin, tf_ssb_connection_t* tunnel, const uint8_t* pub, void* user_data) { int* count = user_data; (*count)++; @@ -920,9 +921,7 @@ void tf_ssb_test_peer_exchange(const tf_test_options_t* options) tf_ssb_connect(ssb1, "127.0.0.1", 12347, id0bin); tf_ssb_connect(ssb2, "127.0.0.1", 12347, id0bin); - while (_count_broadcasts(ssb0) != 2 || - _count_broadcasts(ssb1) != 1 || - _count_broadcasts(ssb2) != 1) + while (_count_broadcasts(ssb0) != 2 || _count_broadcasts(ssb1) != 1 || _count_broadcasts(ssb2) != 1) { uv_run(&loop, UV_RUN_ONCE); }