aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_transport_testing_restart.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-11-06 23:28:30 +0000
committerChristian Grothoff <christian@grothoff.org>2015-11-06 23:28:30 +0000
commit17bca33cca3c06668aa07c2750000a40a229c4a3 (patch)
tree70a1ad9c2506b4ca50b19fa0b387b46ab0b9b2e5 /src/transport/test_transport_testing_restart.c
parentbfe1f56580a066da971887c9beea44c890d26dd6 (diff)
downloadgnunet-17bca33cca3c06668aa07c2750000a40a229c4a3.tar.gz
gnunet-17bca33cca3c06668aa07c2750000a40a229c4a3.zip
-removing last uses of TRANSPORT_try_connect API
Diffstat (limited to 'src/transport/test_transport_testing_restart.c')
-rw-r--r--src/transport/test_transport_testing_restart.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/transport/test_transport_testing_restart.c b/src/transport/test_transport_testing_restart.c
index d2d0d4c9e..188cc20b5 100644
--- a/src/transport/test_transport_testing_restart.c
+++ b/src/transport/test_transport_testing_restart.c
@@ -82,12 +82,17 @@ restart_cb (struct PeerContext *p, void *cls)
82static void 82static void
83restart_task () 83restart_task ()
84{ 84{
85 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peer %u (`%s') restarting, \n", 85 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
86 "Peer %u (`%s') restarting, \n",
86 p->no, 87 p->no,
87 GNUNET_i2s (&p->id)); 88 GNUNET_i2s (&p->id));
88 GNUNET_TRANSPORT_TESTING_restart_peer (tth, p, NULL, restart_cb, p); 89 GNUNET_TRANSPORT_TESTING_restart_peer (p,
90 NULL,
91 &restart_cb,
92 p);
89} 93}
90 94
95
91static void 96static void
92start_cb (struct PeerContext *p, void *cls) 97start_cb (struct PeerContext *p, void *cls)
93{ 98{