From 43f0e19e45b6c991f643ff9b4f796aca4eb37eda Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 24 Sep 2016 21:38:11 +0000 Subject: [PATCH] -must not expand BINARY as filename --- src/arm/arm_api.c | 8 ++++---- src/arm/gnunet-service-arm.c | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/arm/arm_api.c b/src/arm/arm_api.c index 626d8957a..3fcb75814 100644 --- a/src/arm/arm_api.c +++ b/src/arm/arm_api.c @@ -609,10 +609,10 @@ start_arm_service (struct GNUNET_ARM_Handle *h, &lopostfix)) lopostfix = GNUNET_strdup (""); if (GNUNET_OK != - GNUNET_CONFIGURATION_get_value_filename (h->cfg, - "arm", - "BINARY", - &cbinary)) + GNUNET_CONFIGURATION_get_value_string (h->cfg, + "arm", + "BINARY", + &cbinary)) { GNUNET_log_config_missing (GNUNET_ERROR_TYPE_WARNING, "arm", diff --git a/src/arm/gnunet-service-arm.c b/src/arm/gnunet-service-arm.c index 995cd4489..4d5e57db7 100644 --- a/src/arm/gnunet-service-arm.c +++ b/src/arm/gnunet-service-arm.c @@ -1513,10 +1513,10 @@ setup_service (void *cls, "arm")) return; if (GNUNET_OK != - GNUNET_CONFIGURATION_get_value_filename (cfg, - section, - "BINARY", - &binary)) + GNUNET_CONFIGURATION_get_value_string (cfg, + section, + "BINARY", + &binary)) { /* not a service section */ return; -- 2.25.1