diff options
Diffstat (limited to 'src/arm')
-rw-r--r-- | src/arm/arm_api.c | 3 | ||||
-rw-r--r-- | src/arm/gnunet-arm.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/arm/arm_api.c b/src/arm/arm_api.c index c5caa5393..4114b8528 100644 --- a/src/arm/arm_api.c +++ b/src/arm/arm_api.c | |||
@@ -379,8 +379,6 @@ arm_service_report (void *cls, | |||
379 | "Looks like `%s' is not running, will start it.\n", | 379 | "Looks like `%s' is not running, will start it.\n", |
380 | "gnunet-service-arm"); | 380 | "gnunet-service-arm"); |
381 | #endif | 381 | #endif |
382 | /* FIXME: should we check that HOSTNAME for 'arm' is localhost? */ | ||
383 | |||
384 | if (GNUNET_OK != | 382 | if (GNUNET_OK != |
385 | GNUNET_CONFIGURATION_get_value_string (pos->h->cfg, | 383 | GNUNET_CONFIGURATION_get_value_string (pos->h->cfg, |
386 | "arm", "PREFIX", &loprefix)) | 384 | "arm", "PREFIX", &loprefix)) |
@@ -621,6 +619,7 @@ GNUNET_ARM_start_service (struct GNUNET_ARM_Handle *h, | |||
621 | struct RequestContext *sctx; | 619 | struct RequestContext *sctx; |
622 | struct GNUNET_CLIENT_Connection *client; | 620 | struct GNUNET_CLIENT_Connection *client; |
623 | size_t slen; | 621 | size_t slen; |
622 | |||
624 | #if DEBUG_ARM | 623 | #if DEBUG_ARM |
625 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 624 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
626 | _("Asked to start service `%s' within %llu ms\n"), service_name, | 625 | _("Asked to start service `%s' within %llu ms\n"), service_name, |
diff --git a/src/arm/gnunet-arm.c b/src/arm/gnunet-arm.c index c2663aba9..ccad0f21f 100644 --- a/src/arm/gnunet-arm.c +++ b/src/arm/gnunet-arm.c | |||
@@ -46,7 +46,7 @@ | |||
46 | * (by checking if running before starting, so really this time is always waited on | 46 | * (by checking if running before starting, so really this time is always waited on |
47 | * startup (annoying)). | 47 | * startup (annoying)). |
48 | */ | 48 | */ |
49 | #define START_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS, 1000) | 49 | #define START_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 1) |
50 | 50 | ||
51 | /** | 51 | /** |
52 | * Timeout for starting services, very short because of the strange way start works | 52 | * Timeout for starting services, very short because of the strange way start works |