From: Christian Grothoff Date: Sat, 24 Sep 2016 21:38:11 +0000 (+0000) Subject: -must not expand BINARY as filename X-Git-Tag: initial-import-from-subversion-38251~211 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=43f0e19e45b6c991f643ff9b4f796aca4eb37eda;p=oweals%2Fgnunet.git -must not expand BINARY as filename --- 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;