diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2011-09-30 11:20:44 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2011-09-30 11:20:44 +0000 |
commit | 4c3512dc834a6be9da4a8a656f596da536ca67f4 (patch) | |
tree | a1e3453b754954208dca9feefa080425d9df693d /src/transport/test_transport_api_disconnect.c | |
parent | f85e367ddecd6f43c880cb2e266af8139472cc2b (diff) | |
download | gnunet-4c3512dc834a6be9da4a8a656f596da536ca67f4.tar.gz gnunet-4c3512dc834a6be9da4a8a656f596da536ca67f4.zip |
some diagnoses
Diffstat (limited to 'src/transport/test_transport_api_disconnect.c')
-rw-r--r-- | src/transport/test_transport_api_disconnect.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/transport/test_transport_api_disconnect.c b/src/transport/test_transport_api_disconnect.c index 267c56af6..3cc30d91d 100644 --- a/src/transport/test_transport_api_disconnect.c +++ b/src/transport/test_transport_api_disconnect.c | |||
@@ -64,6 +64,7 @@ static struct PeerContext p2; | |||
64 | static int ok; | 64 | static int ok; |
65 | 65 | ||
66 | static int peers_connected = 0; | 66 | static int peers_connected = 0; |
67 | |||
67 | static int counter; | 68 | static int counter; |
68 | static int msgs_recv; | 69 | static int msgs_recv; |
69 | 70 | ||
@@ -313,8 +314,6 @@ peers_disconnect (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
313 | if ((tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN) != 0) | 314 | if ((tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN) != 0) |
314 | return; | 315 | return; |
315 | 316 | ||
316 | //while (peers_connected > 0); | ||
317 | |||
318 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Disconnecting from Transport \n"); | 317 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Disconnecting from Transport \n"); |
319 | 318 | ||
320 | GNUNET_TRANSPORT_get_hello_cancel (p2.ghh); | 319 | GNUNET_TRANSPORT_get_hello_cancel (p2.ghh); |