Simplify gpasswd's main():

Split also get_group() and change_passwd() out of main().
This commit is contained in:
nekral-guest committed 2007-12-27 21:04:22 +00:00
1 parent 586181bf71
commit c81bf3e06f
2 files changed
+187 -134

No files matched your search

+2 -2
View File
@@ -9,8 +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().
* src/gpasswd.c: New functions: check_perms(), get_group(),
change_passwd(). Split out of main() to simplify main().
2007-12-27 Nicolas François <nicolas.francois@centraliens.net>