summaryrefslogtreecommitdiffstats
path: root/sesman/verify_user.c
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2012-06-10 23:47:08 -0700
committerJay Sorg <jay.sorg@gmail.com>2012-06-10 23:47:08 -0700
commit856783ba95e46561ee1776a22b03900e7f0e7286 (patch)
tree36b1b5a054707b3db3b446fbd13401cf78793f3f /sesman/verify_user.c
parent099a421c7706ea5d7706890d7a3f12a4ccf7c126 (diff)
downloadxrdp-proprietary-856783ba95e46561ee1776a22b03900e7f0e7286.tar.gz
xrdp-proprietary-856783ba95e46561ee1776a22b03900e7f0e7286.zip
no logic changes, remove warnings and coding style changes
Diffstat (limited to 'sesman/verify_user.c')
-rw-r--r--sesman/verify_user.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sesman/verify_user.c b/sesman/verify_user.c
index ffe1c04d..aaa1515c 100644
--- a/sesman/verify_user.c
+++ b/sesman/verify_user.c
@@ -302,13 +302,13 @@ auth_account_disabled(struct spwd* stp)
{
int today;
- if (0==stp)
+ if (0 == stp)
{
/* if an invalid struct was passed we assume a disabled account */
return 1;
}
- today=g_time1()/SECS_PER_DAY;
+ today = g_time1() / SECS_PER_DAY;
LOG_DBG("last %d",stp->sp_lstchg);
LOG_DBG("min %d",stp->sp_min);