aboutsummaryrefslogtreecommitdiff
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)
550 struct PooledConnection *entry = cls; 550 struct PooledConnection *entry = cls;
551 551
552 GNUNET_assert (NULL != entry); 552 GNUNET_assert (NULL != entry);
553 LOG_DEBUG ("Opening a transport connection to peer %u\n", entry->index); 553 LOG_DEBUG ("Opening a transport connection to peer %u\n",
554 entry->index);
554 entry->handle_transport = 555 entry->handle_transport =
555 GNUNET_TRANSPORT_connect (entry->cfg, NULL, entry, NULL, 556 GNUNET_TRANSPORT_connect (entry->cfg,
556 &transport_peer_connect_notify_cb, NULL); 557 NULL,
558 entry,
559 NULL,
560 &transport_peer_connect_notify_cb,
561 NULL);
557 if (NULL == entry->handle_transport) 562 if (NULL == entry->handle_transport)
558 { 563 {
559 GNUNET_break (0); 564 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,
1668 else if (monitor_connects) /* -e : Monitor (dis)connect events continuously */ 1668 else if (monitor_connects) /* -e : Monitor (dis)connect events continuously */
1669 { 1669 {
1670 monitor_connect_counter = 0; 1670 monitor_connect_counter = 0;
1671 handle = GNUNET_TRANSPORT_connect (cfg, NULL, NULL, NULL, 1671 handle = GNUNET_TRANSPORT_connect (cfg,
1672 NULL,
1673 NULL,
1674 NULL,
1672 &monitor_notify_connect, 1675 &monitor_notify_connect,
1673 &monitor_notify_disconnect); 1676 &monitor_notify_disconnect);
1674 if (NULL == handle) 1677 if (NULL == handle)