aboutsummaryrefslogtreecommitdiff
path: root/src/core/test_core_api_reliability.c
diff options
context:
space:
mode:
authort3sserakt <t3ss@posteo.de>2020-07-21 12:30:37 +0200
committert3sserakt <t3ss@posteo.de>2020-07-21 12:30:37 +0200
commit5fa1c7dc809aebb55ef062cb3a2757c54eb6b7e7 (patch)
treec26167460724fea683ef51a88ffd93d1fa830412 /src/core/test_core_api_reliability.c
parent17d84245fdfeeb1a6da4ffb97898903cb55f702c (diff)
parent7f4ddbcab8598e3d5e29c23ce883cdfa664408f1 (diff)
downloadgnunet-5fa1c7dc809aebb55ef062cb3a2757c54eb6b7e7.tar.gz
gnunet-5fa1c7dc809aebb55ef062cb3a2757c54eb6b7e7.zip
Merge branch 'master' of ssh://gnunet.org/gnunet
Diffstat (limited to 'src/core/test_core_api_reliability.c')
-rw-r--r--src/core/test_core_api_reliability.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/test_core_api_reliability.c b/src/core/test_core_api_reliability.c
index b510e8993..debf808ca 100644
--- a/src/core/test_core_api_reliability.c
+++ b/src/core/test_core_api_reliability.c
@@ -384,7 +384,7 @@ process_hello (void *cls,
384 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 384 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
385 "Received (my) `%s' from transport service\n", "HELLO"); 385 "Received (my) `%s' from transport service\n", "HELLO");
386 GNUNET_assert (message != NULL); 386 GNUNET_assert (message != NULL);
387 GNUNET_free_non_null (p->hello); 387 GNUNET_free (p->hello);
388 p->hello = GNUNET_copy_message (message); 388 p->hello = GNUNET_copy_message (message);
389 if ((p == &p1) && (NULL == p2.oh)) 389 if ((p == &p1) && (NULL == p2.oh))
390 p2.oh = GNUNET_TRANSPORT_offer_hello (p2.cfg, 390 p2.oh = GNUNET_TRANSPORT_offer_hello (p2.cfg,
@@ -419,8 +419,8 @@ setup_peer (struct PeerContext *p,
419 binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-arm"); 419 binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-arm");
420 p->cfg = GNUNET_CONFIGURATION_create (); 420 p->cfg = GNUNET_CONFIGURATION_create ();
421 p->arm_proc 421 p->arm_proc
422 = GNUNET_OS_start_process (GNUNET_YES, 422 = GNUNET_OS_start_process (GNUNET_OS_INHERIT_STD_OUT_AND_ERR
423 GNUNET_OS_INHERIT_STD_OUT_AND_ERR, 423 | GNUNET_OS_USE_PIPE_CONTROL,
424 NULL, NULL, NULL, 424 NULL, NULL, NULL,
425 binary, 425 binary,
426 "gnunet-service-arm", 426 "gnunet-service-arm",
@@ -523,8 +523,8 @@ main (int argc,
523 &ok); 523 &ok);
524 stop_arm (&p1); 524 stop_arm (&p1);
525 stop_arm (&p2); 525 stop_arm (&p2);
526 GNUNET_free_non_null (p1.hello); 526 GNUNET_free (p1.hello);
527 GNUNET_free_non_null (p2.hello); 527 GNUNET_free (p2.hello);
528 GNUNET_DISK_directory_remove ("/tmp/test-gnunet-core-peer-1"); 528 GNUNET_DISK_directory_remove ("/tmp/test-gnunet-core-peer-1");
529 GNUNET_DISK_directory_remove ("/tmp/test-gnunet-core-peer-2"); 529 GNUNET_DISK_directory_remove ("/tmp/test-gnunet-core-peer-2");
530 530