diff options
-rw-r--r-- | src/util/service.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/util/service.c b/src/util/service.c index cef085f03..36a1f05b1 100644 --- a/src/util/service.c +++ b/src/util/service.c | |||
@@ -1075,11 +1075,6 @@ service_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
1075 | struct GNUNET_SERVICE_Context *sctx = cls; | 1075 | struct GNUNET_SERVICE_Context *sctx = cls; |
1076 | unsigned int i; | 1076 | unsigned int i; |
1077 | 1077 | ||
1078 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | ||
1079 | _("Trying to start `%s' at `%s'\n"), | ||
1080 | sctx->serviceName, | ||
1081 | GNUNET_a2s (sctx->addr, | ||
1082 | sctx->addrlen)); | ||
1083 | sctx->sched = tc->sched; | 1078 | sctx->sched = tc->sched; |
1084 | sctx->server = GNUNET_SERVER_create (tc->sched, | 1079 | sctx->server = GNUNET_SERVER_create (tc->sched, |
1085 | &check_access, | 1080 | &check_access, |
@@ -1090,6 +1085,11 @@ service_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
1090 | sctx->timeout, sctx->require_found); | 1085 | sctx->timeout, sctx->require_found); |
1091 | if (sctx->server == NULL) | 1086 | if (sctx->server == NULL) |
1092 | { | 1087 | { |
1088 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | ||
1089 | _("Failed to start `%s' at `%s'\n"), | ||
1090 | sctx->serviceName, | ||
1091 | GNUNET_a2s (sctx->addr, | ||
1092 | sctx->addrlen)); | ||
1093 | sctx->ret = GNUNET_SYSERR; | 1093 | sctx->ret = GNUNET_SYSERR; |
1094 | return; | 1094 | return; |
1095 | } | 1095 | } |