aboutsummaryrefslogtreecommitdiff
path: root/src/arm
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-09-24 21:38:11 +0000
committerChristian Grothoff <christian@grothoff.org>2016-09-24 21:38:11 +0000
commit43f0e19e45b6c991f643ff9b4f796aca4eb37eda (patch)
tree0540d9c4356e9c44753ea8713e512e30b5981eb9 /src/arm
parent31899f01bd95f66e6cfec9b53ace071648d6b663 (diff)
downloadgnunet-43f0e19e45b6c991f643ff9b4f796aca4eb37eda.tar.gz
gnunet-43f0e19e45b6c991f643ff9b4f796aca4eb37eda.zip
-must not expand BINARY as filename
Diffstat (limited to 'src/arm')
-rw-r--r--src/arm/arm_api.c8
-rw-r--r--src/arm/gnunet-service-arm.c8
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,
609 &lopostfix)) 609 &lopostfix))
610 lopostfix = GNUNET_strdup (""); 610 lopostfix = GNUNET_strdup ("");
611 if (GNUNET_OK != 611 if (GNUNET_OK !=
612 GNUNET_CONFIGURATION_get_value_filename (h->cfg, 612 GNUNET_CONFIGURATION_get_value_string (h->cfg,
613 "arm", 613 "arm",
614 "BINARY", 614 "BINARY",
615 &cbinary)) 615 &cbinary))
616 { 616 {
617 GNUNET_log_config_missing (GNUNET_ERROR_TYPE_WARNING, 617 GNUNET_log_config_missing (GNUNET_ERROR_TYPE_WARNING,
618 "arm", 618 "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,
1513 "arm")) 1513 "arm"))
1514 return; 1514 return;
1515 if (GNUNET_OK != 1515 if (GNUNET_OK !=
1516 GNUNET_CONFIGURATION_get_value_filename (cfg, 1516 GNUNET_CONFIGURATION_get_value_string (cfg,
1517 section, 1517 section,
1518 "BINARY", 1518 "BINARY",
1519 &binary)) 1519 &binary))
1520 { 1520 {
1521 /* not a service section */ 1521 /* not a service section */
1522 return; 1522 return;