patch from 'Hug Me'

This commit is contained in:
jsorg71 2007-08-31 04:09:20 +00:00
parent f82cf80d4f
commit 930160ea50

View File

@ -100,9 +100,10 @@ env_set_user(char* username, char* passwd_file, int display)
{
if (0 == g_cfg.auth_file_path)
{
/* if no auth_file_path is set, then we go for $HOME/.vnc/sesman_passwd */
/* if no auth_file_path is set, then we go for
$HOME/.vnc/sesman_username_passwd */
g_mkdir(".vnc");
g_sprintf(passwd_file, "%s/.vnc/sesman_passwd", pw_dir);
g_sprintf(passwd_file, "%s/.vnc/sesman_%s_passwd", pw_dir, username);
}
else
{