From 40c7f4763b97bbef4bd67584068d388395ff885b Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 4 Aug 2020 13:24:21 +0200 Subject: fix missing API conversion --- src/transport/transport-testing2.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/transport/transport-testing2.c b/src/transport/transport-testing2.c index 10b064241..13944e9f0 100644 --- a/src/transport/transport-testing2.c +++ b/src/transport/transport-testing2.c @@ -897,6 +897,7 @@ shutdown_process (struct GNUNET_OS_Process *proc) GNUNET_OS_process_destroy (proc); } + static void shutdown_peerstore (void *cls) { @@ -904,6 +905,7 @@ shutdown_peerstore (void *cls) shutdown_process (proc); } + static void shutdown_communicator (void *cls) { @@ -939,8 +941,8 @@ communicator_start ( binary = GNUNET_OS_get_libexec_binary_path (binary_name); - tc_h->c_proc = GNUNET_OS_start_process_s (GNUNET_YES, - GNUNET_OS_INHERIT_STD_OUT_AND_ERR, + tc_h->c_proc = GNUNET_OS_start_process_s (GNUNET_OS_USE_PIPE_CONTROL + | GNUNET_OS_INHERIT_STD_OUT_AND_ERR, NULL, loprefix, binary, @@ -1026,8 +1028,8 @@ peerstore_start ( LOG (GNUNET_ERROR_TYPE_DEBUG, "peerstore_start\n"); binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-peerstore"); - tc_h->ps_proc = GNUNET_OS_start_process (GNUNET_YES, - GNUNET_OS_INHERIT_STD_OUT_AND_ERR, + tc_h->ps_proc = GNUNET_OS_start_process (GNUNET_OS_USE_PIPE_CONTROL + | GNUNET_OS_INHERIT_STD_OUT_AND_ERR, NULL, NULL, NULL, @@ -1045,6 +1047,7 @@ peerstore_start ( GNUNET_free (binary); } + /** * @brief Start NAT * -- cgit v1.2.3