diff options
author | ilsimo <ilsimo> | 2008-02-20 22:02:24 +0000 |
---|---|---|
committer | ilsimo <ilsimo> | 2008-02-20 22:02:24 +0000 |
commit | 4c9d3862e55ab5d6fa734549478bb0a00be9f7ed (patch) | |
tree | 2efde9a8872ed90ea14521702614768aaf0b765b /sesman/verify_user.c | |
parent | 8f0045c19b03d5c9a0baea6b72037ec226db8343 (diff) | |
download | xrdp-proprietary-4c9d3862e55ab5d6fa734549478bb0a00be9f7ed.tar.gz xrdp-proprietary-4c9d3862e55ab5d6fa734549478bb0a00be9f7ed.zip |
updating logging subsystem
Diffstat (limited to 'sesman/verify_user.c')
-rw-r--r-- | sesman/verify_user.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sesman/verify_user.c b/sesman/verify_user.c index f40a9f05..b783724c 100644 --- a/sesman/verify_user.c +++ b/sesman/verify_user.c @@ -73,7 +73,7 @@ auth_userpass(char* user, char* pass) } if (1==auth_account_disabled(stp)) { - log_message(LOG_LEVEL_INFO, "account %s is disabled", user); + log_message(&(g_cfg.log), LOG_LEVEL_INFO, "account %s is disabled", user); return 0; } g_strncpy(hash, stp->sp_pwdp, 34); @@ -306,13 +306,13 @@ auth_account_disabled(struct spwd* stp) today=g_time1()/SECS_PER_DAY; - LOG_DBG("last %d",stp->sp_lstchg); - LOG_DBG("min %d",stp->sp_min); - LOG_DBG("max %d",stp->sp_max); - LOG_DBG("inact %d",stp->sp_inact); - LOG_DBG("warn %d",stp->sp_warn); - LOG_DBG("expire %d",stp->sp_expire); - LOG_DBG("today %d",today); + LOG_DBG(&(g_cfg.log), "last %d",stp->sp_lstchg); + LOG_DBG(&(g_cfg.log), "min %d",stp->sp_min); + LOG_DBG(&(g_cfg.log), "max %d",stp->sp_max); + LOG_DBG(&(g_cfg.log), "inact %d",stp->sp_inact); + LOG_DBG(&(g_cfg.log), "warn %d",stp->sp_warn); + LOG_DBG(&(g_cfg.log), "expire %d",stp->sp_expire); + LOG_DBG(&(g_cfg.log), "today %d",today); if ((stp->sp_expire != -1) && (today >= stp->sp_expire)) { |