diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-09-25 18:46:43 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-09-25 18:46:43 +0000 |
commit | aa3d0dc77048dad13943dcf4a611d5131a9a01c5 (patch) | |
tree | 545b49eafd6000279cdfb2577be10b59be3eabbd /src/arm/arm_api.c | |
parent | ca1cea453795dd8aa1b68dfb8f311bda85102a8c (diff) | |
download | gnunet-aa3d0dc77048dad13943dcf4a611d5131a9a01c5.tar.gz gnunet-aa3d0dc77048dad13943dcf4a611d5131a9a01c5.zip |
want himBHexpansion, but not path-prefixing
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", |