summaryrefslogtreecommitdiff
path: root/src/transport/transport-testing2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/transport-testing2.c')
-rw-r--r--src/transport/transport-testing2.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/transport/transport-testing2.c b/src/transport/transport-testing2.c
index 513b030b8..ee0c4494e 100644
--- a/src/transport/transport-testing2.c
+++ b/src/transport/transport-testing2.c
@@ -504,15 +504,13 @@ GNUNET_TRANSPORT_TESTING_start_peer (struct
"Peer %u configured with identity `%s'\n",
p->no,
GNUNET_i2s_full (&p->id));
- p->tmh = GNUNET_TRANSPORT_manipulation_connect (p->cfg);
p->th = GNUNET_TRANSPORT_core_connect (p->cfg,
NULL,
handlers,
p,
&notify_connect,
&notify_disconnect);
- if ((NULL == p->th) ||
- (NULL == p->tmh))
+ if (NULL == p->th)
{
LOG (GNUNET_ERROR_TYPE_ERROR,
"Failed to connect to transport service for peer `%s': `%s'\n",
@@ -577,11 +575,6 @@ GNUNET_TRANSPORT_TESTING_restart_peer (struct
GNUNET_TRANSPORT_core_disconnect (p->th);
p->th = NULL;
}
- if (NULL != p->tmh)
- {
- GNUNET_TRANSPORT_manipulation_disconnect (p->tmh);
- p->tmh = NULL;
- }
for (cc = p->tth->cc_head; NULL != cc; cc = ccn)
{
ccn = cc->next;
@@ -668,11 +661,6 @@ GNUNET_TRANSPORT_TESTING_stop_peer (struct
GNUNET_PEERSTORE_iterate_cancel (p->pic);
p->pic = NULL;
}
- if (NULL != p->tmh)
- {
- GNUNET_TRANSPORT_manipulation_disconnect (p->tmh);
- p->tmh = NULL;
- }
if (NULL != p->th)
{
GNUNET_TRANSPORT_core_disconnect (p->th);