Revert 37060
authorFlorian Dold <florian.dold@gmail.com>
Fri, 22 Apr 2016 14:26:17 +0000 (14:26 +0000)
committerFlorian Dold <florian.dold@gmail.com>
Fri, 22 Apr 2016 14:26:17 +0000 (14:26 +0000)
Filename expansion in GNUnet apparently also resolves paths
relative to the CWD, which broke everything.

src/arm/gnunet-service-arm.c

index 53284e470dab94bb593d2234828c2886f0c8a783..28d448f756e79d6dba1eb04506902b88c3b2e76a 100644 (file)
@@ -1459,7 +1459,7 @@ setup_service (void *cls,
   if (strcasecmp (section, "arm") == 0)
     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;