aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport-testing.c
diff options
context:
space:
mode:
authort3sserakt <t3ss@posteo.de>2021-07-16 21:05:11 +0200
committert3sserakt <t3ss@posteo.de>2021-07-16 21:05:11 +0200
commit33830e71f8e80334e0c8cf5527b1f2b20804485e (patch)
treebe8bb3af17046a3e7c77ca6f11639c24e938211d /src/transport/transport-testing.c
parent71f230fbb6f270f6b501934acadb6f57026c353d (diff)
downloadgnunet-33830e71f8e80334e0c8cf5527b1f2b20804485e.tar.gz
gnunet-33830e71f8e80334e0c8cf5527b1f2b20804485e.zip
- started to implement several cmds to start peers^Ctestcase plugin will be started directly from helper, functionality to communicate between master cmd loop and local cmd loop, code compiles, test is not working atm.
Diffstat (limited to 'src/transport/transport-testing.c')
-rw-r--r--src/transport/transport-testing.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/transport/transport-testing.c b/src/transport/transport-testing.c
index a7ee563d7..00c4a08dd 100644
--- a/src/transport/transport-testing.c
+++ b/src/transport/transport-testing.c
@@ -463,7 +463,7 @@ GNUNET_TRANSPORT_TESTING_start_peer (struct
463 GNUNET_free (emsg); 463 GNUNET_free (emsg);
464 return NULL; 464 return NULL;
465 } 465 }
466 GNUNET_free (emsg); 466
467 if (GNUNET_OK != GNUNET_TESTING_peer_start (p->peer)) 467 if (GNUNET_OK != GNUNET_TESTING_peer_start (p->peer))
468 { 468 {
469 LOG (GNUNET_ERROR_TYPE_ERROR, 469 LOG (GNUNET_ERROR_TYPE_ERROR,
@@ -508,6 +508,7 @@ GNUNET_TRANSPORT_TESTING_start_peer (struct
508 cfgname, 508 cfgname,
509 emsg); 509 emsg);
510 GNUNET_TRANSPORT_TESTING_stop_peer (p); 510 GNUNET_TRANSPORT_TESTING_stop_peer (p);
511 GNUNET_free (emsg);
511 return NULL; 512 return NULL;
512 } 513 }
513 p->ats = GNUNET_ATS_connectivity_init (p->cfg); 514 p->ats = GNUNET_ATS_connectivity_init (p->cfg);
@@ -518,6 +519,7 @@ GNUNET_TRANSPORT_TESTING_start_peer (struct
518 cfgname, 519 cfgname,
519 emsg); 520 emsg);
520 GNUNET_TRANSPORT_TESTING_stop_peer (p); 521 GNUNET_TRANSPORT_TESTING_stop_peer (p);
522 GNUNET_free (emsg);
521 return NULL; 523 return NULL;
522 } 524 }
523 p->ghh = GNUNET_TRANSPORT_hello_get (p->cfg, 525 p->ghh = GNUNET_TRANSPORT_hello_get (p->cfg,