diff options
Diffstat (limited to 'src/testbed/gnunet-helper-testbed.c')
-rw-r--r-- | src/testbed/gnunet-helper-testbed.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/src/testbed/gnunet-helper-testbed.c b/src/testbed/gnunet-helper-testbed.c index 4c1637db6..5d0c3b048 100644 --- a/src/testbed/gnunet-helper-testbed.c +++ b/src/testbed/gnunet-helper-testbed.c | |||
@@ -58,12 +58,6 @@ | |||
58 | 58 | ||
59 | 59 | ||
60 | /** | 60 | /** |
61 | * We need pipe control only on WINDOWS | ||
62 | */ | ||
63 | #define PIPE_CONTROL GNUNET_NO | ||
64 | |||
65 | |||
66 | /** | ||
67 | * Context for a single write on a chunk of memory | 61 | * Context for a single write on a chunk of memory |
68 | */ | 62 | */ |
69 | struct WriteContext | 63 | struct WriteContext |
@@ -405,7 +399,7 @@ tokenizer_cb (void *cls, const struct GNUNET_MessageHeader *message) | |||
405 | GNUNET_free (evstr); | 399 | GNUNET_free (evstr); |
406 | evstr = NULL; | 400 | evstr = NULL; |
407 | } | 401 | } |
408 | GNUNET_free_non_null (hostname); | 402 | GNUNET_free (hostname); |
409 | hostname = NULL; | 403 | hostname = NULL; |
410 | GNUNET_assert (NULL != test_system); | 404 | GNUNET_assert (NULL != test_system); |
411 | GNUNET_assert (GNUNET_OK == | 405 | GNUNET_assert (GNUNET_OK == |
@@ -435,8 +429,7 @@ tokenizer_cb (void *cls, const struct GNUNET_MessageHeader *message) | |||
435 | see putenv(): becomes part of envrionment! */ | 429 | see putenv(): becomes part of envrionment! */ |
436 | evstr = NULL; | 430 | evstr = NULL; |
437 | } | 431 | } |
438 | testbed = GNUNET_OS_start_process (PIPE_CONTROL, | 432 | testbed = GNUNET_OS_start_process (GNUNET_OS_INHERIT_STD_ERR /*verbose? */, |
439 | GNUNET_OS_INHERIT_STD_ERR /*verbose? */, | ||
440 | NULL, | 433 | NULL, |
441 | NULL, | 434 | NULL, |
442 | NULL, | 435 | NULL, |
@@ -594,7 +587,7 @@ main (int argc, char **argv) | |||
594 | 587 | ||
595 | status = GNUNET_OK; | 588 | status = GNUNET_OK; |
596 | if (NULL == | 589 | if (NULL == |
597 | (sigpipe = GNUNET_DISK_pipe (GNUNET_NO, GNUNET_NO, GNUNET_NO, GNUNET_NO))) | 590 | (sigpipe = GNUNET_DISK_pipe (GNUNET_DISK_PF_NONE))) |
598 | { | 591 | { |
599 | GNUNET_break (0); | 592 | GNUNET_break (0); |
600 | return 1; | 593 | return 1; |