[Pkg-shadow-commits] r2150 - in upstream/trunk: . src
nekral-guest at alioth.debian.org
nekral-guest at alioth.debian.org
Fri Jun 13 20:34:48 UTC 2008
Author: nekral-guest
Date: 2008-06-13 20:34:46 +0000 (Fri, 13 Jun 2008)
New Revision: 2150
Modified:
upstream/trunk/ChangeLog
upstream/trunk/src/logoutd.c
Log:
* src/logoutd.c: Ignore return value of time() when use with a
non NULL argument.
Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog 2008-06-13 20:33:38 UTC (rev 2149)
+++ upstream/trunk/ChangeLog 2008-06-13 20:34:46 UTC (rev 2150)
@@ -1,5 +1,10 @@
2008-06-13 Nicolas François <nicolas.francois at 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 at centraliens.net>
+
* src/pwconv.c: Use SHADOW_SP_FLAG_UNSET for the initial
value of sp.sp_flag.
* src/pwconv.c: Cast number of days to a long integer.
Modified: upstream/trunk/src/logoutd.c
===================================================================
--- upstream/trunk/src/logoutd.c 2008-06-13 20:33:38 UTC (rev 2149)
+++ upstream/trunk/src/logoutd.c 2008-06-13 20:34:46 UTC (rev 2150)
@@ -77,7 +77,7 @@
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.
More information about the Pkg-shadow-commits
mailing list