mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Fix minor coding guidelines introduced with CLI permissions.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@161077 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user