diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-09-15 08:28:48 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-09-15 08:28:48 +0000 |
commit | d1e367b5bcff3b7c9db57fe7ce8f25ab45a6894b (patch) | |
tree | 4f95268829fa9ebafae3e7e2dfd9ddbf985f779d /src | |
parent | 4be4d3b83339a600828eda550619e332ae77dce7 (diff) | |
download | gnunet-d1e367b5bcff3b7c9db57fe7ce8f25ab45a6894b.tar.gz gnunet-d1e367b5bcff3b7c9db57fe7ce8f25ab45a6894b.zip |
0001602: A patch to fix process spawning with redirected std streams
Diffstat (limited to 'src')
-rw-r--r-- | src/transport/plugin_transport_wlan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c index a7d40982b..0d7f476aa 100644 --- a/src/transport/plugin_transport_wlan.c +++ b/src/transport/plugin_transport_wlan.c | |||
@@ -433,11 +433,11 @@ static int | |||
433 | wlan_transport_start_wlan_helper(struct Plugin *plugin) | 433 | wlan_transport_start_wlan_helper(struct Plugin *plugin) |
434 | { | 434 | { |
435 | 435 | ||
436 | plugin->server_stdout = GNUNET_DISK_pipe(GNUNET_YES); | 436 | plugin->server_stdout = (GNUNET_YES, GNUNET_NO, GNUNET_YES); |
437 | if (plugin->server_stdout == NULL) | 437 | if (plugin->server_stdout == NULL) |
438 | return GNUNET_SYSERR; | 438 | return GNUNET_SYSERR; |
439 | 439 | ||
440 | plugin->server_stdin = GNUNET_DISK_pipe(GNUNET_YES); | 440 | plugin->server_stdin = GNUNET_DISK_pipe(GNUNET_YES, GNUNET_YES, GNUNET_NO); |
441 | if (plugin->server_stdin == NULL) | 441 | if (plugin->server_stdin == NULL) |
442 | return GNUNET_SYSERR; | 442 | return GNUNET_SYSERR; |
443 | 443 | ||