* src/chgpasswd.c: Avoid assignments in comparisons.

* src/chgpasswd.c: Avoid implicit brackets.
	* src/chgpasswd.c: Fix comments to match chgpasswd (group instead of
	user's passwords are changed).

	Fix the previous ChangeLog entries regarding chgpasswd.
This commit is contained in:
nekral-guest
2007-12-28 23:14:59 +00:00
parent 9fe450e216
commit 8563319b8b
2 changed files with 47 additions and 33 deletions

View File

@@ -1,8 +1,14 @@
2007-12-28 Nicolas François <nicolas.francois@centraliens.net>
Same changes for chgpasswd:
* src/chpasswd.c: main() split in process_flags(), check_flags(),
* src/chgpasswd.c: Before pam_end(), the return value of the previous
pam API was already checked. No need to validate it again.
* src/chgpasswd.c: main() split in process_flags(), check_flags(),
check_perms(), open_files(), and close_files().
* src/chgpasswd.c: Avoid assignments in comparisons.
* src/chgpasswd.c: Avoid implicit brackets.
* src/chgpasswd.c: Fix comments to match chgpasswd (group instead of
user's passwords are changed).
2007-12-28 Nicolas François <nicolas.francois@centraliens.net>