diff options
Diffstat (limited to 'src/arm/arm_api.c')
-rw-r--r-- | src/arm/arm_api.c | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/src/arm/arm_api.c b/src/arm/arm_api.c index 3fcb75814..2967e62b7 100644 --- a/src/arm/arm_api.c +++ b/src/arm/arm_api.c | |||
@@ -597,17 +597,23 @@ start_arm_service (struct GNUNET_ARM_Handle *h, | |||
597 | char *lopostfix; | 597 | char *lopostfix; |
598 | 598 | ||
599 | if (GNUNET_OK != | 599 | if (GNUNET_OK != |
600 | GNUNET_CONFIGURATION_get_value_filename (h->cfg, | 600 | GNUNET_CONFIGURATION_get_value_string (h->cfg, |
601 | "arm", | 601 | "arm", |
602 | "PREFIX", | 602 | "PREFIX", |
603 | &loprefix)) | 603 | &loprefix)) |
604 | loprefix = GNUNET_strdup (""); | 604 | loprefix = GNUNET_strdup (""); |
605 | else | ||
606 | loprefix = GNUNET_CONFIGURATION_expand_dollar (h->cfg, | ||
607 | loprefix); | ||
605 | if (GNUNET_OK != | 608 | if (GNUNET_OK != |
606 | GNUNET_CONFIGURATION_get_value_filename (h->cfg, | 609 | GNUNET_CONFIGURATION_get_value_string (h->cfg, |
607 | "arm", | 610 | "arm", |
608 | "OPTIONS", | 611 | "OPTIONS", |
609 | &lopostfix)) | 612 | &lopostfix)) |
610 | lopostfix = GNUNET_strdup (""); | 613 | lopostfix = GNUNET_strdup (""); |
614 | else | ||
615 | lopostfix = GNUNET_CONFIGURATION_expand_dollar (h->cfg, | ||
616 | lopostfix); | ||
611 | if (GNUNET_OK != | 617 | if (GNUNET_OK != |
612 | GNUNET_CONFIGURATION_get_value_string (h->cfg, | 618 | GNUNET_CONFIGURATION_get_value_string (h->cfg, |
613 | "arm", | 619 | "arm", |