diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-22 22:28:56 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-22 22:28:56 +0100 |
commit | 8123b12a4d3a2101885705dbf5d250a410763d35 (patch) | |
tree | bd19a77b965434f04f5b4582f377e4772757186d /src/cadet/test_cadet.c | |
parent | f506381e287ef7adfa3979ba9c2b48e6e001cf1c (diff) | |
download | gnunet-8123b12a4d3a2101885705dbf5d250a410763d35.tar.gz gnunet-8123b12a4d3a2101885705dbf5d250a410763d35.zip |
cosmetics for test
Diffstat (limited to 'src/cadet/test_cadet.c')
-rw-r--r-- | src/cadet/test_cadet.c | 8 |
1 files changed, 4 insertions, 4 deletions
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, | |||
796 | return NULL; | 796 | return NULL; |
797 | } | 797 | } |
798 | 798 | ||
799 | |||
799 | /** | 800 | /** |
800 | * Function called whenever an inbound channel is destroyed. Should clean up | 801 | * Function called whenever an inbound channel is destroyed. Should clean up |
801 | * any associated state. | 802 | * any associated state. |
@@ -813,7 +814,8 @@ channel_cleaner (void *cls, | |||
813 | long i = (long) cls; | 814 | long i = (long) cls; |
814 | 815 | ||
815 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 816 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
816 | "Incoming channel disconnected at peer %ld\n", i); | 817 | "Incoming channel disconnected at peer %ld\n", |
818 | i); | ||
817 | if (peers_running - 1 == i) | 819 | if (peers_running - 1 == i) |
818 | { | 820 | { |
819 | ok++; | 821 | ok++; |
@@ -824,7 +826,7 @@ channel_cleaner (void *cls, | |||
824 | { | 826 | { |
825 | if (P2P_SIGNAL == test) | 827 | if (P2P_SIGNAL == test) |
826 | { | 828 | { |
827 | ok ++; | 829 | ok++; |
828 | } | 830 | } |
829 | GNUNET_break (channel == ch); | 831 | GNUNET_break (channel == ch); |
830 | ch = NULL; | 832 | ch = NULL; |
@@ -841,8 +843,6 @@ channel_cleaner (void *cls, | |||
841 | disconnect_task = GNUNET_SCHEDULER_add_now (&gather_stats_and_exit, | 843 | disconnect_task = GNUNET_SCHEDULER_add_now (&gather_stats_and_exit, |
842 | (void *) __LINE__); | 844 | (void *) __LINE__); |
843 | } | 845 | } |
844 | |||
845 | return; | ||
846 | } | 846 | } |
847 | 847 | ||
848 | 848 | ||