aboutsummaryrefslogtreecommitdiff
path: root/src/util/helper.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-01-14 23:18:06 +0000
committerChristian Grothoff <christian@grothoff.org>2012-01-14 23:18:06 +0000
commit91ab799c42b2496e65afd0c866811999d88119ed (patch)
tree2c31aa87ead94723c1d959a691b11811fc4589f8 /src/util/helper.c
parenta72a1c6fc09216c5be7f5ee697ff55cf66907c80 (diff)
downloadgnunet-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.c4
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,
286static void 286static void
287start_helper (struct GNUNET_HELPER_Handle *h) 287start_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... */