gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r38003 - gnunet/src/arm


From: gnunet
Subject: [GNUnet-SVN] r38003 - gnunet/src/arm
Date: Sat, 24 Sep 2016 22:33:43 +0200

Author: grothoff
Date: 2016-09-24 22:33:43 +0200 (Sat, 24 Sep 2016)
New Revision: 38003

Modified:
   gnunet/src/arm/arm_api.c
   gnunet/src/arm/gnunet-service-arm.c
Log:
fix #4672

Modified: gnunet/src/arm/arm_api.c
===================================================================
--- gnunet/src/arm/arm_api.c    2016-09-24 20:29:31 UTC (rev 38002)
+++ gnunet/src/arm/arm_api.c    2016-09-24 20:33:43 UTC (rev 38003)
@@ -597,22 +597,22 @@
   char *lopostfix;
 
   if (GNUNET_OK !=
-      GNUNET_CONFIGURATION_get_value_string (h->cfg,
-                                             "arm",
-                                             "PREFIX",
-                                             &loprefix))
+      GNUNET_CONFIGURATION_get_value_filename (h->cfg,
+                                               "arm",
+                                               "PREFIX",
+                                               &loprefix))
     loprefix = GNUNET_strdup ("");
   if (GNUNET_OK !=
-      GNUNET_CONFIGURATION_get_value_string (h->cfg,
-                                             "arm",
-                                             "OPTIONS",
-                                             &lopostfix))
+      GNUNET_CONFIGURATION_get_value_filename (h->cfg,
+                                               "arm",
+                                               "OPTIONS",
+                                               &lopostfix))
     lopostfix = GNUNET_strdup ("");
   if (GNUNET_OK !=
-      GNUNET_CONFIGURATION_get_value_string (h->cfg,
-                                             "arm",
-                                             "BINARY",
-                                             &cbinary))
+      GNUNET_CONFIGURATION_get_value_filename (h->cfg,
+                                               "arm",
+                                               "BINARY",
+                                               &cbinary))
   {
     GNUNET_log_config_missing (GNUNET_ERROR_TYPE_WARNING,
                                "arm",

Modified: gnunet/src/arm/gnunet-service-arm.c
===================================================================
--- gnunet/src/arm/gnunet-service-arm.c 2016-09-24 20:29:31 UTC (rev 38002)
+++ gnunet/src/arm/gnunet-service-arm.c 2016-09-24 20:33:43 UTC (rev 38003)
@@ -444,16 +444,16 @@
 
   /* obtain configuration */
   if (GNUNET_OK !=
-      GNUNET_CONFIGURATION_get_value_string (cfg,
-                                             sl->name,
-                                             "PREFIX",
-                                             &loprefix))
+      GNUNET_CONFIGURATION_get_value_filename (cfg,
+                                               sl->name,
+                                               "PREFIX",
+                                               &loprefix))
     loprefix = GNUNET_strdup (prefix_command);
   if (GNUNET_OK !=
-      GNUNET_CONFIGURATION_get_value_string (cfg,
-                                             sl->name,
-                                             "OPTIONS",
-                                             &options))
+      GNUNET_CONFIGURATION_get_value_filename (cfg,
+                                               sl->name,
+                                               "OPTIONS",
+                                               &options))
     options = NULL;
 
   {
@@ -1482,15 +1482,22 @@
   if (strcasecmp (section, "arm") == 0)
     return;
   if (GNUNET_OK !=
-      GNUNET_CONFIGURATION_get_value_string (cfg, section, "BINARY", &binary))
+      GNUNET_CONFIGURATION_get_value_filename (cfg,
+                                               section,
+                                               "BINARY",
+                                               &binary))
   {
     /* not a service section */
     return;
   }
   if ((GNUNET_YES ==
-       GNUNET_CONFIGURATION_have_value (cfg, section, "USER_SERVICE")) &&
+       GNUNET_CONFIGURATION_have_value (cfg,
+                                        section,
+                                        "USER_SERVICE")) &&
       (GNUNET_YES ==
-       GNUNET_CONFIGURATION_get_value_yesno (cfg, section, "USER_SERVICE")))
+       GNUNET_CONFIGURATION_get_value_yesno (cfg,
+                                             section,
+                                             "USER_SERVICE")))
   {
     if (GNUNET_NO == start_user)
     {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]