[asterisk-commits] eliel: branch eliel/cli-permissions r151881 - /team/eliel/cli-permissions/main/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Oct 24 10:56:31 CDT 2008
Author: eliel
Date: Fri Oct 24 10:56:31 2008
New Revision: 151881
URL: http://svn.digium.com/view/asterisk?view=rev&rev=151881
Log:
uid and gid aren't const.
Modified:
team/eliel/cli-permissions/main/asterisk.c
team/eliel/cli-permissions/main/cli.c
Modified: team/eliel/cli-permissions/main/asterisk.c
URL: http://svn.digium.com/view/asterisk/team/eliel/cli-permissions/main/asterisk.c?view=diff&rev=151881&r1=151880&r2=151881
==============================================================================
--- team/eliel/cli-permissions/main/asterisk.c (original)
+++ team/eliel/cli-permissions/main/asterisk.c Fri Oct 24 10:56:31 2008
@@ -174,8 +174,8 @@
int p[2]; /*!< Pipe */
pthread_t t; /*!< Thread of handler */
int mute; /*!< Is the console muted for logs */
- const int uid; /*!< Remote user ID. */
- const int gid; /*!< Remote group ID. */
+ int uid; /*!< Remote user ID. */
+ int gid; /*!< Remote group ID. */
int levels[NUMLOGLEVELS]; /*!< Which log levels are enabled for the console */
};
Modified: team/eliel/cli-permissions/main/cli.c
URL: http://svn.digium.com/view/asterisk/team/eliel/cli-permissions/main/cli.c?view=diff&rev=151881&r1=151880&r2=151881
==============================================================================
--- team/eliel/cli-permissions/main/cli.c (original)
+++ team/eliel/cli-permissions/main/cli.c Fri Oct 24 10:56:31 2008
@@ -63,8 +63,8 @@
* \brief list of users to apply restrictions.
*/
struct usergroup_cli_perm {
- const int uid; /*!< User ID (-1 disabled) */
- const int gid; /*!< Group ID (-1 disabled) */
+ int uid; /*!< User ID (-1 disabled) */
+ int gid; /*!< Group ID (-1 disabled) */
struct cli_perm_head *perms;
AST_LIST_ENTRY(usergroup_cli_perm) list;/*!< List mechanics */
};
More information about the asterisk-commits
mailing list