From: Christian Grothoff Date: Tue, 16 Mar 2010 07:49:23 +0000 (+0000) Subject: expand ~ in PATHS X-Git-Tag: initial-import-from-subversion-38251~22459 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a391edf3646ee1961a76343530b28f1884a4d78e;p=oweals%2Fgnunet.git expand ~ in PATHS --- 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]))) {