summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuan-Zhong Huang <imprazaguy@gmail.com>2012-07-22 01:25:40 +0800
committerGuan-Zhong Huang <imprazaguy@gmail.com>2013-03-09 13:55:21 +0800
commit059deae6f3f013d480361f74e55db135e1e482bc (patch)
tree3261faa72abc3e816afff4884bb62c57ad7c7817
parent297fdaf1c6615a856aaaa16072eb8538f39faf19 (diff)
downloadxrdp-proprietary-059deae6f3f013d480361f74e55db135e1e482bc.tar.gz
xrdp-proprietary-059deae6f3f013d480361f74e55db135e1e482bc.zip
Fix incorrect usage of log_message()
-rw-r--r--sesman/verify_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sesman/verify_user.c b/sesman/verify_user.c
index 5bd89c73..81ddc0a8 100644
--- a/sesman/verify_user.c
+++ b/sesman/verify_user.c
@@ -76,7 +76,7 @@ auth_userpass(char *user, char *pass, int *errorcode)
if (1 == auth_account_disabled(stp))
{
- log_message(&(g_cfg->log), LOG_LEVEL_INFO, "account %s is disabled", user);
+ log_message(LOG_LEVEL_INFO, "account %s is disabled", user);
return 0;
}