From: tg(x) <*@tg-x.net> Date: Fri, 25 Nov 2016 21:27:18 +0000 (+0100) Subject: service_new: ready_confirm_fd X-Git-Tag: taler-0.2.1~585 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=82e765caeb53a1de54676738169dab98ca76c47e;p=oweals%2Fgnunet.git service_new: ready_confirm_fd --- diff --git a/src/util/service_new.c b/src/util/service_new.c index 8433c42bf..a893d287b 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,