gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: -helper(fix): remove superfluous comment


From: gnunet
Subject: [gnunet] branch master updated: -helper(fix): remove superfluous comment and assert
Date: Fri, 27 Sep 2024 15:15:32 +0200

This is an automated email from the git hooks/post-receive script.

julius-buenger pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 201c3508f -helper(fix): remove superfluous comment and assert
201c3508f is described below

commit 201c3508fc9d47d03169174a0ee71e4613748bfb
Author: ch3 <ch3@mailbox.org>
AuthorDate: Fri Sep 27 15:14:24 2024 +0200

    -helper(fix): remove superfluous comment and assert
---
 src/lib/util/helper.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/lib/util/helper.c b/src/lib/util/helper.c
index 18e9de9f6..87ea749e9 100644
--- a/src/lib/util/helper.c
+++ b/src/lib/util/helper.c
@@ -328,9 +328,6 @@ helper_read (void *cls)
                 h->binary_name);
     if (NULL != h->exp_cb)
     {
-      // FIXME is this behavior correct/intended?
-      //       the helper is shut down when there's an exception handler,
-      //       otherwise it's restarted?
       h->exp_cb (h->cb_cls);
       GNUNET_HELPER_stop (h, GNUNET_NO);
       return;
@@ -538,7 +535,6 @@ GNUNET_HELPER_destroy (struct GNUNET_HELPER_Handle *h)
 void
 GNUNET_HELPER_stop (struct GNUNET_HELPER_Handle *h, int soft_kill)
 {
-  GNUNET_assert (NULL !=h);
   h->exp_cb = NULL;
   stop_helper (h, soft_kill);
   GNUNET_HELPER_destroy (h);

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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