summaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-11-08 12:16:44 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-11-08 12:16:44 +0000
commitc2beda80149b118743b91e7f44e7a1dc03c8a776 (patch)
tree3f7f78eda736c196bf744f02506264075da361ca /src/transport
parent7654fc4f50812076c2f1374ac95af49db945a8b3 (diff)
- changes
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/gnunet-transport.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/transport/gnunet-transport.c b/src/transport/gnunet-transport.c
index a4fb227cc..9c3d3a73c 100644
--- a/src/transport/gnunet-transport.c
+++ b/src/transport/gnunet-transport.c
@@ -226,6 +226,7 @@ shutdown_task (void *cls,
GNUNET_CONTAINER_multihashmap_destroy (peers);
peers = NULL;
}
+ GNUNET_break (0);
}
/**
@@ -754,7 +755,7 @@ testservice_task (void *cls,
GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL,
&do_disconnect, NULL);
}
- else if (iterate_connections) /* List all active addresses once */
+ else if (iterate_connections) /* -i: List all active addresses once */
{
peers = GNUNET_CONTAINER_multihashmap_create (20, GNUNET_NO);
address_resolution_in_progress = GNUNET_YES;
@@ -763,7 +764,7 @@ testservice_task (void *cls,
TIMEOUT,
&process_address, (void *) cfg);
}
- else if (monitor_connections) /* List all active addresses continously */
+ else if (monitor_connections) /* -m: List all active addresses continously */
{
peers = GNUNET_CONTAINER_multihashmap_create (20, GNUNET_NO);
address_resolution_in_progress = GNUNET_YES;
@@ -772,7 +773,7 @@ testservice_task (void *cls,
TIMEOUT,
&process_address, (void *) cfg);
}
- else if (monitor_connects) /* Monitor (dis)connect events continously */
+ else if (monitor_connects) /* -e : Monitor (dis)connect events continously */
{
monitor_connect_counter = 0;
handle = GNUNET_TRANSPORT_connect (cfg, NULL, NULL, NULL,