diff options
Diffstat (limited to 'src/windows/leashdll/lshfunc.c')
-rw-r--r-- | src/windows/leashdll/lshfunc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windows/leashdll/lshfunc.c b/src/windows/leashdll/lshfunc.c index a9c7c0d4c..91920e0ec 100644 --- a/src/windows/leashdll/lshfunc.c +++ b/src/windows/leashdll/lshfunc.c @@ -1553,7 +1553,7 @@ get_profile_file(LPSTR confname, UINT szConfname) { char **configFile = NULL; if (hKrb5) { - if (pkrb5_get_default_config_files(&configFile)) + if (pkrb5_get_default_config_files(&configFile) || !configFile[0]) { GetWindowsDirectory(confname,szConfname); confname[szConfname-1] = '\0'; |