From: Christian Grothoff Date: Sun, 22 Jan 2017 21:28:56 +0000 (+0100) Subject: cosmetics for test X-Git-Tag: taler-0.2.1~356 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8123b12a4d3a2101885705dbf5d250a410763d35;p=oweals%2Fgnunet.git cosmetics for test --- diff --git a/src/cadet/test_cadet.c b/src/cadet/test_cadet.c index db19db4ed..a411b41bc 100644 --- a/src/cadet/test_cadet.c +++ b/src/cadet/test_cadet.c @@ -796,6 +796,7 @@ incoming_channel (void *cls, return NULL; } + /** * Function called whenever an inbound channel is destroyed. Should clean up * any associated state. @@ -813,7 +814,8 @@ channel_cleaner (void *cls, long i = (long) cls; GNUNET_log (GNUNET_ERROR_TYPE_INFO, - "Incoming channel disconnected at peer %ld\n", i); + "Incoming channel disconnected at peer %ld\n", + i); if (peers_running - 1 == i) { ok++; @@ -824,7 +826,7 @@ channel_cleaner (void *cls, { if (P2P_SIGNAL == test) { - ok ++; + ok++; } GNUNET_break (channel == ch); ch = NULL; @@ -841,8 +843,6 @@ channel_cleaner (void *cls, disconnect_task = GNUNET_SCHEDULER_add_now (&gather_stats_and_exit, (void *) __LINE__); } - - return; }