[asterisk-commits] eliel: trunk r161077 - /trunk/main/cli.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Dec 4 13:31:48 CST 2008


Author: eliel
Date: Thu Dec  4 13:31:48 2008
New Revision: 161077

URL: http://svn.digium.com/view/asterisk?view=rev&rev=161077
Log:
Fix minor coding guidelines introduced with CLI permissions.

Modified:
    trunk/main/cli.c

Modified: trunk/main/cli.c
URL: http://svn.digium.com/view/asterisk/trunk/main/cli.c?view=diff&rev=161077&r1=161076&r2=161077
==============================================================================
--- trunk/main/cli.c (original)
+++ trunk/main/cli.c Thu Dec  4 13:31:48 2008
@@ -1460,7 +1460,7 @@
 }
 
 /*! \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 @@
 	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;




More information about the asterisk-commits mailing list