gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r24036 - gnunet/src/util
Date: Thu, 27 Sep 2012 11:55:08 +0200

Author: grothoff
Date: 2012-09-27 11:55:08 +0200 (Thu, 27 Sep 2012)
New Revision: 24036

Modified:
   gnunet/src/util/helper.c
Log:
-do not restart helper if exp_cb is set

Modified: gnunet/src/util/helper.c
===================================================================
--- gnunet/src/util/helper.c    2012-09-27 09:54:36 UTC (rev 24035)
+++ gnunet/src/util/helper.c    2012-09-27 09:55:08 UTC (rev 24036)
@@ -496,6 +496,12 @@
                 _("Error writing to `%s': %s\n"),
                h->binary_name,
                STRERROR (errno));
+    if (NULL != h->exp_cb)
+    {
+      h->exp_cb (h->cb_cls);
+      GNUNET_HELPER_stop (h);
+      return;
+    }
     stop_helper (h);
     /* Restart the helper */
     h->restart_task =




reply via email to

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