From: Martin Schanzenbach Date: Thu, 15 Mar 2012 13:06:45 +0000 (+0000) Subject: -fix config parsing for tests X-Git-Tag: initial-import-from-subversion-38251~14240 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ee28d54c6b7f1d1dbcb518b7b3f577cb192b401a;p=oweals%2Fgnunet.git -fix config parsing for tests --- diff --git a/src/gns/test_gns_simple_get_authority.c b/src/gns/test_gns_simple_get_authority.c index da8cdcbb6..bc32e3961 100644 --- a/src/gns/test_gns_simple_get_authority.c +++ b/src/gns/test_gns_simple_get_authority.c @@ -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)) { diff --git a/src/gns/test_gns_simple_shorten.c b/src/gns/test_gns_simple_shorten.c index 8f93c471f..1cd8668b5 100644 --- a/src/gns/test_gns_simple_shorten.c +++ b/src/gns/test_gns_simple_shorten.c @@ -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)) {