summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/testbed/gnunet-service-testbed_connectionpool.c11
-rw-r--r--src/transport/gnunet-transport.c5
2 files changed, 12 insertions, 4 deletions
diff --git a/src/testbed/gnunet-service-testbed_connectionpool.c b/src/testbed/gnunet-service-testbed_connectionpool.c
index f060cb3f5..020fcb8d7 100644
--- a/src/testbed/gnunet-service-testbed_connectionpool.c
+++ b/src/testbed/gnunet-service-testbed_connectionpool.c
@@ -550,10 +550,15 @@ opstart_get_handle_transport (void *cls)
struct PooledConnection *entry = cls;
GNUNET_assert (NULL != entry);
- LOG_DEBUG ("Opening a transport connection to peer %u\n", entry->index);
+ LOG_DEBUG ("Opening a transport connection to peer %u\n",
+ entry->index);
entry->handle_transport =
- GNUNET_TRANSPORT_connect (entry->cfg, NULL, entry, NULL,
- &transport_peer_connect_notify_cb, NULL);
+ GNUNET_TRANSPORT_connect (entry->cfg,
+ NULL,
+ entry,
+ NULL,
+ &transport_peer_connect_notify_cb,
+ NULL);
if (NULL == entry->handle_transport)
{
GNUNET_break (0);
diff --git a/src/transport/gnunet-transport.c b/src/transport/gnunet-transport.c
index 994dd0111..b8d3c84b9 100644
--- a/src/transport/gnunet-transport.c
+++ b/src/transport/gnunet-transport.c
@@ -1668,7 +1668,10 @@ testservice_task (void *cls,
else if (monitor_connects) /* -e : Monitor (dis)connect events continuously */
{
monitor_connect_counter = 0;
- handle = GNUNET_TRANSPORT_connect (cfg, NULL, NULL, NULL,
+ handle = GNUNET_TRANSPORT_connect (cfg,
+ NULL,
+ NULL,
+ NULL,
&monitor_notify_connect,
&monitor_notify_disconnect);
if (NULL == handle)