From ee28d54c6b7f1d1dbcb518b7b3f577cb192b401a Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Thu, 15 Mar 2012 13:06:45 +0000 Subject: [PATCH] -fix config parsing for tests --- src/gns/test_gns_simple_get_authority.c | 2 +- src/gns/test_gns_simple_shorten.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)) { -- 2.25.1