summaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-08-04 13:24:21 +0200
committerChristian Grothoff <christian@grothoff.org>2020-08-04 13:24:29 +0200
commit40c7f4763b97bbef4bd67584068d388395ff885b (patch)
tree95339466b02476e6183e6aa03eeafd27ecb3ce2f /src/transport
parent080519e980d8f8a3b138c733f837417bdb1b6757 (diff)
fix missing API conversion
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/transport-testing2.c11
1 files changed, 7 insertions, 4 deletions
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
*