summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-04-12 22:05:54 +0200
committerChristian Grothoff <christian@grothoff.org>2022-04-12 22:05:54 +0200
commit84ef72f38aaee90296442f1ecef81b0724fb7a32 (patch)
treed7930a5a1ca7410793b3a3a11479a25a0c97cc08 /src
parent51c7c63289f6b10bf530eac0f87ad882178a0844 (diff)
downloadanastasis-84ef72f38aaee90296442f1ecef81b0724fb7a32.tar.gz
anastasis-84ef72f38aaee90296442f1ecef81b0724fb7a32.tar.bz2
anastasis-84ef72f38aaee90296442f1ecef81b0724fb7a32.zip
-style
Diffstat (limited to 'src')
-rw-r--r--src/reducer/anastasis_api_recovery_redux.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/reducer/anastasis_api_recovery_redux.c b/src/reducer/anastasis_api_recovery_redux.c
index 17218a1..66215e9 100644
--- a/src/reducer/anastasis_api_recovery_redux.c
+++ b/src/reducer/anastasis_api_recovery_redux.c
@@ -100,8 +100,9 @@ ANASTASIS_recovery_start (const struct GNUNET_CONFIGURATION_Handle *cfg)
pid = fork ();
if (pid == 0)
{
- close (pipefd_stdout[0]);
- dup2 (pipefd_stdout[1], STDOUT_FILENO);
+ (void) close (pipefd_stdout[0]);
+ (void) dup2 (pipefd_stdout[1],
+ STDOUT_FILENO);
execlp (external_reducer,
external_reducer,
"-r",