diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-07-17 22:35:36 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-17 22:35:36 +0200 |
commit | 28ab2c446fba4980a8295d59fdf203a028a35dd6 (patch) | |
tree | ebd266d1e280e353e8857a7e3e35bbf609c0a888 /src/nat/gnunet-service-nat_helper.c | |
parent | 931232d1141891232e46f5d6fd1432663e730e7a (diff) | |
download | gnunet-28ab2c446fba4980a8295d59fdf203a028a35dd6.tar.gz gnunet-28ab2c446fba4980a8295d59fdf203a028a35dd6.zip |
avoid boolean flag in GNUNET_OS_start_process() API (fixes #6188)
Diffstat (limited to 'src/nat/gnunet-service-nat_helper.c')
-rw-r--r-- | src/nat/gnunet-service-nat_helper.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/nat/gnunet-service-nat_helper.c b/src/nat/gnunet-service-nat_helper.c index 58d7b4c61..80d3559f3 100644 --- a/src/nat/gnunet-service-nat_helper.c +++ b/src/nat/gnunet-service-nat_helper.c | |||
@@ -234,8 +234,7 @@ restart_nat_server (void *cls) | |||
234 | "Starting `%s' at `%s'\n", | 234 | "Starting `%s' at `%s'\n", |
235 | "gnunet-helper-nat-server", | 235 | "gnunet-helper-nat-server", |
236 | ia); | 236 | ia); |
237 | h->server_proc = GNUNET_OS_start_process (GNUNET_NO, | 237 | h->server_proc = GNUNET_OS_start_process (GNUNET_OS_INHERIT_STD_NONE, |
238 | 0, | ||
239 | NULL, | 238 | NULL, |
240 | h->server_stdout, | 239 | h->server_stdout, |
241 | NULL, | 240 | NULL, |
@@ -378,8 +377,7 @@ GN_request_connection_reversal (const struct in_addr *internal_address, | |||
378 | remv4, | 377 | remv4, |
379 | internal_port); | 378 | internal_port); |
380 | binary = GNUNET_OS_get_suid_binary_path (cfg, "gnunet-helper-nat-client"); | 379 | binary = GNUNET_OS_get_suid_binary_path (cfg, "gnunet-helper-nat-client"); |
381 | proc = GNUNET_OS_start_process (GNUNET_NO, | 380 | proc = GNUNET_OS_start_process (GNUNET_OS_INHERIT_STD_NONE, |
382 | 0, | ||
383 | NULL, | 381 | NULL, |
384 | NULL, | 382 | NULL, |
385 | NULL, | 383 | NULL, |