Simplify gpasswd's main():
Split also get_group() and change_passwd() out of main().
This commit is contained in:
@@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user