diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-14 23:18:06 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-14 23:18:06 +0000 |
commit | 91ab799c42b2496e65afd0c866811999d88119ed (patch) | |
tree | 2c31aa87ead94723c1d959a691b11811fc4589f8 /src/util/helper.c | |
parent | a72a1c6fc09216c5be7f5ee697ff55cf66907c80 (diff) | |
download | gnunet-91ab799c42b2496e65afd0c866811999d88119ed.tar.gz gnunet-91ab799c42b2496e65afd0c866811999d88119ed.zip |
LRN: enable more fine-grained control over blocking/non-blocking pipe operation
Diffstat (limited to 'src/util/helper.c')
-rw-r--r-- | src/util/helper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/helper.c b/src/util/helper.c index d4d26ba51..d0aab3ccf 100644 --- a/src/util/helper.c +++ b/src/util/helper.c | |||
@@ -286,8 +286,8 @@ helper_read (void *cls, | |||
286 | static void | 286 | static void |
287 | start_helper (struct GNUNET_HELPER_Handle *h) | 287 | start_helper (struct GNUNET_HELPER_Handle *h) |
288 | { | 288 | { |
289 | h->helper_in = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_YES, GNUNET_NO); | 289 | h->helper_in = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_YES, GNUNET_YES, GNUNET_NO); |
290 | h->helper_out = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_NO, GNUNET_YES); | 290 | h->helper_out = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_YES, GNUNET_NO, GNUNET_YES); |
291 | if ( (h->helper_in == NULL) || (h->helper_out == NULL)) | 291 | if ( (h->helper_in == NULL) || (h->helper_out == NULL)) |
292 | { | 292 | { |
293 | /* out of file descriptors? try again later... */ | 293 | /* out of file descriptors? try again later... */ |