-fix config parsing for tests
authorMartin Schanzenbach <mschanzenbach@posteo.de>
Thu, 15 Mar 2012 13:06:45 +0000 (13:06 +0000)
committerMartin Schanzenbach <mschanzenbach@posteo.de>
Thu, 15 Mar 2012 13:06:45 +0000 (13:06 +0000)
src/gns/test_gns_simple_get_authority.c
src/gns/test_gns_simple_shorten.c

index da8cdcbb61280011f5b38d9978a32d775c17d372..bc32e396151a3f2cd8e53da4fa3522519768b498 100644 (file)
@@ -212,7 +212,7 @@ do_shorten(void *cls, const struct GNUNET_PeerIdentity *id,
     return;
   }
 
-  if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_string (cfg, "gns",
+  if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_filename (cfg, "gns",
                                                           "ZONEKEY",
                                                           &our_keyfile))
   {
index 8f93c471f9d8df3b8c0ef79c4ab31353a6ce1d61..1cd8668b5aa7cb81caf690eb15a1dd8119aca2a6 100644 (file)
@@ -212,7 +212,7 @@ do_shorten(void *cls, const struct GNUNET_PeerIdentity *id,
     return;
   }
 
-  if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_string (cfg, "gns",
+  if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_filename (cfg, "gns",
                                                           "ZONEKEY",
                                                           &our_keyfile))
   {