aboutsummaryrefslogtreecommitdiff
path: root/src/util/helper.c
diff options
context:
space:
mode:
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 029203638..b03990fbe 100644
--- a/src/util/helper.c
+++ b/src/util/helper.c
@@ -264,6 +264,8 @@ helper_read (void *cls,
264 _("Got %u bytes from helper `%s'\n"), 264 _("Got %u bytes from helper `%s'\n"),
265 (unsigned int) t, 265 (unsigned int) t,
266 h->binary_name); 266 h->binary_name);
267 h->read_task = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL,
268 h->fh_from_helper, &helper_read, h);
267 if (GNUNET_SYSERR == 269 if (GNUNET_SYSERR ==
268 GNUNET_SERVER_mst_receive (h->mst, NULL, buf, t, GNUNET_NO, GNUNET_NO)) 270 GNUNET_SERVER_mst_receive (h->mst, NULL, buf, t, GNUNET_NO, GNUNET_NO))
269 { 271 {
@@ -278,8 +280,6 @@ helper_read (void *cls,
278 return; 280 return;
279 281
280 } 282 }
281 h->read_task = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL,
282 h->fh_from_helper, &helper_read, h);
283} 283}
284 284
285 285