gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] 02/02: service_new: ready_confirm_fd


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 02/02: service_new: ready_confirm_fd
Date: Sat, 26 Nov 2016 01:32:58 +0100

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

unknown user pushed a commit to branch master
in repository gnunet.

commit 82e765caeb53a1de54676738169dab98ca76c47e
Author: tg(x) <address@hidden>
AuthorDate: Fri Nov 25 22:27:18 2016 +0100

    service_new: ready_confirm_fd
---
 src/util/service_new.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/util/service_new.c b/src/util/service_new.c
index 8433c42..a893d28 100644
--- a/src/util/service_new.c
+++ b/src/util/service_new.c
@@ -390,6 +390,14 @@ service_main (void *cls)
     GNUNET_SCHEDULER_add_shutdown (&service_shutdown,
                                    sh);
   GNUNET_SERVICE_resume (sh);
+
+  if (-1 != sh->ready_confirm_fd)
+  {
+    GNUNET_break (1 == WRITE (sh->ready_confirm_fd, ".", 1));
+    GNUNET_break (0 == CLOSE (sh->ready_confirm_fd));
+    sh->ready_confirm_fd = -1;
+  }
+
   if (NULL != sh->service_init_cb)
     sh->service_init_cb (sh->cb_cls,
                         sh->cfg,

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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