* src/usermod.c (update_group, update_gshadow): Reduce complexity

and document checks. Some checks were always true/false within
	their call context.
This commit is contained in:
nekral-guest
2011-07-14 13:29:32 +00:00
parent 8195a2b5d8
commit c2f5088067
2 changed files with 77 additions and 46 deletions

View File

@@ -13,6 +13,9 @@
check if changes are needed.
* src/usermod.c: usage() does not return. Add annotations.
* src/usermod.c (update_gshadow): is_member was computed twice.
* src/usermod.c (update_group, update_gshadow): Reduce complexity
and document checks. Some checks were always true/false within
their call context.
2011-07-08 Nicolas François <nicolas.francois@centraliens.net>