* Split also check_perms() out of main().

* Before pam_end(), the return value of the previous
  pam API was already checked. No need to validate it again.
This commit is contained in:
nekral-guest
2007-12-31 14:54:46 +00:00
parent 7ed7e14dee
commit f031095d9f
2 changed files with 107 additions and 92 deletions

View File

@@ -1,6 +1,8 @@
2007-12-31 Nicolas François <nicolas.francois@centraliens.net>
* src/chsh.c: Split process_flags() out of main().
* src/chsh.c: Split process_flags(), and check_perms() out of main().
* src/chsh.c: Before pam_end(), the return value of the previous
pam API was already checked. No need to validate it again.
2007-12-31 Nicolas François <nicolas.francois@centraliens.net>