[Pkg-shadow-commits] r1986 - in upstream/trunk: . src
nekral-guest at alioth.debian.org
nekral-guest at alioth.debian.org
Mon May 19 20:31:51 UTC 2008
Author: nekral-guest
Date: 2008-05-19 20:31:48 +0000 (Mon, 19 May 2008)
New Revision: 1986
Modified:
upstream/trunk/ChangeLog
upstream/trunk/src/useradd.c
Log:
Fix formatting.
Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog 2008-05-19 19:43:24 UTC (rev 1985)
+++ upstream/trunk/ChangeLog 2008-05-19 20:31:48 UTC (rev 1986)
@@ -1,5 +1,9 @@
2008-05-19 Nicolas François <nicolas.francois at centraliens.net>
+ * src/useradd.c: Fix formatting.
+
+2008-05-19 Nicolas François <nicolas.francois at centraliens.net>
+
* NEWS, man/useradd.8.xml: Document the -r, --system option.
2008-05-18 Nicolas François <nicolas.francois at centraliens.net>
Modified: upstream/trunk/src/useradd.c
===================================================================
--- upstream/trunk/src/useradd.c 2008-05-19 19:43:24 UTC (rev 1985)
+++ upstream/trunk/src/useradd.c 2008-05-19 20:31:48 UTC (rev 1986)
@@ -713,11 +713,11 @@
spent->sp_pwdp = (char *) user_pass;
spent->sp_lstchg = time ((time_t *) 0) / SCALE;
if (!rflg) {
- spent->sp_min = scale_age (getdef_num ("PASS_MIN_DAYS", -1));
- spent->sp_max = scale_age (getdef_num ("PASS_MAX_DAYS", -1));
- spent->sp_warn = scale_age (getdef_num ("PASS_WARN_AGE", -1));
- spent->sp_inact = scale_age (def_inactive);
- spent->sp_expire = scale_age (user_expire);
+ spent->sp_min = scale_age (getdef_num ("PASS_MIN_DAYS", -1));
+ spent->sp_max = scale_age (getdef_num ("PASS_MAX_DAYS", -1));
+ spent->sp_warn = scale_age (getdef_num ("PASS_WARN_AGE", -1));
+ spent->sp_inact = scale_age (def_inactive);
+ spent->sp_expire = scale_age (user_expire);
} else {
spent->sp_min = scale_age (-1);
spent->sp_max = scale_age (-1);
@@ -1074,7 +1074,7 @@
}
}
- if (!gflg && !Nflg && ! Uflg) {
+ if (!gflg && !Nflg && !Uflg) {
/* Get the settings from login.defs */
Uflg = getdef_bool ("USERGROUPS_ENAB");
}
More information about the Pkg-shadow-commits
mailing list