Simplify gpasswd's main():

New function: check_perms(). Split out of main() to simplify main().
This commit is contained in:
nekral-guest
2007-12-27 19:08:31 +00:00
parent 55d581d041
commit 586181bf71
2 changed files with 79 additions and 52 deletions

View File

@@ -9,6 +9,8 @@
* src/gpasswd.c: New functions: open_files(), close_files(),
update_group(). Split out from main() to simplify this (too) big
function.
* src/gpasswd.c: New function: check_perms(). Split out of main() to
simplify main().
2007-12-27 Nicolas François <nicolas.francois@centraliens.net>