diff options
author | eliel <eliel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-04 19:31:48 +0000 |
---|---|---|
committer | eliel <eliel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-04 19:31:48 +0000 |
commit | 71b0952e7ebe1851d87e33473556e7c7aebe771c (patch) | |
tree | 82d1aeea3ca729cc038f79dfbce17ddb1fae4beb /main/cli.c | |
parent | 1961e422344b1dfac0a171440b10e68a0e44caae (diff) |
Fix minor coding guidelines introduced with CLI permissions.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@161077 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/cli.c')
-rw-r--r-- | main/cli.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/main/cli.c b/main/cli.c index c4ffd392c..a01b343e3 100644 --- a/main/cli.c +++ b/main/cli.c @@ -1460,7 +1460,7 @@ static int set_full_cmd(struct ast_cli_entry *e) } /*! \brief cleanup (free) cli_perms linkedlist. */ -static void destroy_user_perms (void) +static void destroy_user_perms(void) { struct cli_perm *perm; struct usergroup_cli_perm *user_perm; @@ -1476,7 +1476,8 @@ static void destroy_user_perms (void) AST_RWLIST_UNLOCK(&cli_perms); } -int ast_cli_perms_init(int reload) { +int ast_cli_perms_init(int reload) +{ struct ast_flags config_flags = { reload ? CONFIG_FLAG_FILEUNCHANGED : 0 }; struct ast_config *cfg; char *cat = NULL; |