From 6c5be1e49eaeca44de6ec6e2e6ec2e91947a0752 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Mon, 4 Oct 2010 08:20:30 +0000 Subject: [PATCH] Bug 0001607: Need to $-expand HOSTLISTFILE Patch added --- src/hostlist/hostlist-client.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/hostlist/hostlist-client.c b/src/hostlist/hostlist-client.c index c9856de69..61e79c6cf 100644 --- a/src/hostlist/hostlist-client.c +++ b/src/hostlist/hostlist-client.c @@ -1338,10 +1338,10 @@ load_hostlist_file () uint32_t counter; if (GNUNET_OK != - GNUNET_CONFIGURATION_get_value_string (cfg, - "HOSTLIST", - "HOSTLISTFILE", - &filename)) + GNUNET_CONFIGURATION_get_value_filename (cfg, + "HOSTLIST", + "HOSTLISTFILE", + &filename)) { GNUNET_log (GNUNET_ERROR_TYPE_WARNING, _("No `%s' specified in `%s' configuration, cannot load hostlists from file.\n"), @@ -1429,7 +1429,7 @@ static void save_hostlist_file ( int shutdown ) uint32_t counter; if (GNUNET_OK != - GNUNET_CONFIGURATION_get_value_string (cfg, + GNUNET_CONFIGURATION_get_value_filename (cfg, "HOSTLIST", "HOSTLISTFILE", &filename)) @@ -1565,7 +1565,7 @@ GNUNET_HOSTLIST_client_start (const struct GNUNET_CONFIGURATION_Handle *c, GNUNET_log (GNUNET_ERROR_TYPE_INFO, _("Learning is not enabled on this peer\n")); *msgh = NULL; - if (GNUNET_OK == GNUNET_CONFIGURATION_get_value_string (cfg, + if (GNUNET_OK == GNUNET_CONFIGURATION_get_value_filename (cfg, "HOSTLIST", "HOSTLISTFILE", &filename)) -- 2.25.1