* src/logoutd.c: Ignore return value of time() when use with a
non NULL argument.
This commit is contained in:
parent
47210d9a1a
commit
2fa4cedb1e
@ -1,3 +1,8 @@
|
||||
2008-06-13 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* src/logoutd.c: Ignore return value of time() when use with a
|
||||
non NULL argument.
|
||||
|
||||
2008-06-13 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* src/pwconv.c: Use SHADOW_SP_FLAG_UNSET for the initial
|
||||
|
@ -77,7 +77,7 @@ static int check_login (const struct utmp *ut)
|
||||
strncpy (user, ut->ut_user, sizeof (ut->ut_user));
|
||||
user[sizeof (ut->ut_user)] = '\0';
|
||||
|
||||
time (&now);
|
||||
(void) time (&now);
|
||||
|
||||
/*
|
||||
* Check if they are allowed to be logged in right now.
|
||||
|
Loading…
Reference in New Issue
Block a user