diff options
author | t3sserakt <t3ss@posteo.de> | 2021-07-16 21:05:11 +0200 |
---|---|---|
committer | t3sserakt <t3ss@posteo.de> | 2021-07-16 21:05:11 +0200 |
commit | 33830e71f8e80334e0c8cf5527b1f2b20804485e (patch) | |
tree | be8bb3af17046a3e7c77ca6f11639c24e938211d /src/transport/transport-testing2.c | |
parent | 71f230fbb6f270f6b501934acadb6f57026c353d (diff) | |
download | gnunet-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-testing2.c')
-rw-r--r-- | src/transport/transport-testing2.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/transport/transport-testing2.c b/src/transport/transport-testing2.c index 482aaf4d0..6d41ec098 100644 --- a/src/transport/transport-testing2.c +++ b/src/transport/transport-testing2.c | |||
@@ -478,7 +478,7 @@ GNUNET_TRANSPORT_TESTING_start_peer (struct | |||
478 | GNUNET_free (emsg); | 478 | GNUNET_free (emsg); |
479 | return NULL; | 479 | return NULL; |
480 | } | 480 | } |
481 | GNUNET_free (emsg); | 481 | |
482 | if (GNUNET_OK != GNUNET_TESTING_peer_start (p->peer)) | 482 | if (GNUNET_OK != GNUNET_TESTING_peer_start (p->peer)) |
483 | { | 483 | { |
484 | LOG (GNUNET_ERROR_TYPE_ERROR, | 484 | LOG (GNUNET_ERROR_TYPE_ERROR, |
@@ -520,6 +520,7 @@ GNUNET_TRANSPORT_TESTING_start_peer (struct | |||
520 | cfgname, | 520 | cfgname, |
521 | emsg); | 521 | emsg); |
522 | GNUNET_TRANSPORT_TESTING_stop_peer (p); | 522 | GNUNET_TRANSPORT_TESTING_stop_peer (p); |
523 | GNUNET_free (emsg); | ||
523 | return NULL; | 524 | return NULL; |
524 | } | 525 | } |
525 | p->ats = GNUNET_ATS_connectivity_init (p->cfg); | 526 | p->ats = GNUNET_ATS_connectivity_init (p->cfg); |
@@ -530,6 +531,7 @@ GNUNET_TRANSPORT_TESTING_start_peer (struct | |||
530 | cfgname, | 531 | cfgname, |
531 | emsg); | 532 | emsg); |
532 | GNUNET_TRANSPORT_TESTING_stop_peer (p); | 533 | GNUNET_TRANSPORT_TESTING_stop_peer (p); |
534 | GNUNET_free (emsg); | ||
533 | return NULL; | 535 | return NULL; |
534 | } | 536 | } |
535 | p->ph = GNUNET_PEERSTORE_connect (p->cfg); | 537 | p->ph = GNUNET_PEERSTORE_connect (p->cfg); |