gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r19514 - gnunet/src/util


From: gnunet
Subject: [GNUnet-SVN] r19514 - gnunet/src/util
Date: Sun, 29 Jan 2012 22:24:56 +0100

Author: grothoff
Date: 2012-01-29 22:24:56 +0100 (Sun, 29 Jan 2012)
New Revision: 19514

Modified:
   gnunet/src/util/helper.c
Log:
-enable helper shutdown during mst callback

Modified: gnunet/src/util/helper.c
===================================================================
--- gnunet/src/util/helper.c    2012-01-29 21:20:23 UTC (rev 19513)
+++ gnunet/src/util/helper.c    2012-01-29 21:24:56 UTC (rev 19514)
@@ -264,6 +264,8 @@
              _("Got %u bytes from helper `%s'\n"),
              (unsigned int) t,
              h->binary_name);
+  h->read_task = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL,
+                                                h->fh_from_helper, 
&helper_read, h);
   if (GNUNET_SYSERR ==
       GNUNET_SERVER_mst_receive (h->mst, NULL, buf, t, GNUNET_NO, GNUNET_NO))
   {
@@ -278,8 +280,6 @@
     return;
 
   }
-  h->read_task = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL,
-                                                h->fh_from_helper, 
&helper_read, h);
 }
 
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]