From a391edf3646ee1961a76343530b28f1884a4d78e Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 16 Mar 2010 07:49:23 +0000 Subject: [PATCH] expand ~ in PATHS --- src/util/configuration.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/util/configuration.c b/src/util/configuration.c index 167fd375a..a244d5f01 100644 --- a/src/util/configuration.c +++ b/src/util/configuration.c @@ -765,9 +765,9 @@ GNUNET_CONFIGURATION_expand_dollar (const struct GNUNET_CONFIGURATION_Handle orig[i] = '\0'; post = &orig[i + 1]; } - if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_string (cfg, - "PATHS", - &orig[1], &prefix)) + if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_filename (cfg, + "PATHS", + &orig[1], &prefix)) { if (NULL == (env = getenv (&orig[1]))) { -- 2.25.1