-must not expand BINARY as filename
authorChristian Grothoff <christian@grothoff.org>
Sat, 24 Sep 2016 21:38:11 +0000 (21:38 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sat, 24 Sep 2016 21:38:11 +0000 (21:38 +0000)
src/arm/arm_api.c
src/arm/gnunet-service-arm.c

index 626d8957a39eba248d6af6e5b02c3c62e5fd1276..3fcb75814cf69dc7207048e861dd3237f8f1fad9 100644 (file)
@@ -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",
index 995cd44895cce402cdb76ffabe652570bdf42c06..4d5e57db7fee93c8da7135025ce22cad027bd0e5 100644 (file)
@@ -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;