summaryrefslogtreecommitdiffstats
path: root/sesman/env.c
diff options
context:
space:
mode:
authornorrarvid <norrarvid@gmail.com>2012-06-05 08:08:04 +0200
committernorrarvid <norrarvid@gmail.com>2012-06-05 08:08:04 +0200
commiteef475e025b62aaebc24b1eaa603cb3a92ffd07a (patch)
tree03b136fea5bbc428008be16c20af079490741da3 /sesman/env.c
parenta555dc5a4282514b9d4eae2a26a5d57665176f1a (diff)
parentdbd2cbca8e5ad361706b0ac013b62607bae4b5d3 (diff)
downloadxrdp-proprietary-eef475e025b62aaebc24b1eaa603cb3a92ffd07a.tar.gz
xrdp-proprietary-eef475e025b62aaebc24b1eaa603cb3a92ffd07a.zip
timeout added for the reply to come from sesman
Diffstat (limited to 'sesman/env.c')
-rw-r--r--sesman/env.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sesman/env.c b/sesman/env.c
index 4bcb22e8..f7abe120 100644
--- a/sesman/env.c
+++ b/sesman/env.c
@@ -47,7 +47,7 @@ env_check_password_file(char* filename, char* password)
fd = g_file_open(filename);
if (fd == -1)
{
- log_message(&(g_cfg->log), LOG_LEVEL_WARNING,
+ log_message(LOG_LEVEL_WARNING,
"can't read vnc password file - %s",
filename);
return 1;
@@ -112,13 +112,13 @@ env_set_user(char* username, char* passwd_file, int display)
/* we use auth_file_path as requested */
g_sprintf(passwd_file, g_cfg->auth_file_path, username);
}
- LOG_DBG(&(g_cfg->log), "pass file: %s", passwd_file);
+ LOG_DBG("pass file: %s", passwd_file);
}
}
}
else
{
- log_message(&(g_cfg->log), LOG_LEVEL_ERROR,
+ log_message(LOG_LEVEL_ERROR,
"error getting user info for user %s", username);
}
return error;