Don't use Windows specific path tokens in lib/krb5/config_file.c

This commit is contained in:
Asanka Herath
2009-09-14 15:01:46 -04:00
committed by Love Hornquist Astrand
parent 4634af9078
commit 93445a8133

View File

@@ -447,7 +447,7 @@ krb5_config_parse_file_multi (krb5_context context,
fname = newfname;
}
#else /* KRB5_USE_PATH_TOKENS */
asprintf(&newfname, "%%{APPDATA}%s", &fname[1]);
asprintf(&newfname, "%%{USERCONFIG}/%s", &fname[1]);
if (newfname == NULL) {
krb5_set_error_message(context, ENOMEM,
N_("malloc: out of memory", ""));