From 4062de42eec444eeb6803ace0877d6e3c61ae3cd Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 14 May 2010 15:11:39 +0000 Subject: [PATCH] no log on shutdown --- src/arm/gnunet-service-manager.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/arm/gnunet-service-manager.c b/src/arm/gnunet-service-manager.c index 81fb730c7..be8aa3246 100644 --- a/src/arm/gnunet-service-manager.c +++ b/src/arm/gnunet-service-manager.c @@ -484,9 +484,10 @@ start_forwarding (void *cls, if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_TIMEOUT)) { /* Service is not up. Unable to proceed */ - GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - _("Unable to start service `%s': timeout\n"), - fc->listen_info->serviceName); + if (0 == (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN)) + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, + _("Unable to start service `%s': timeout\n"), + fc->listen_info->serviceName); closeClientAndServiceSockets (fc, (REASON_CLIENT & REASON_SERVICE)); return; -- 2.25.1