[asterisk-commits] twilson: branch eliel/cli-permissions r152213 - /team/eliel/cli-permissions/m...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Oct 27 12:53:25 CDT 2008
Author: twilson
Date: Mon Oct 27 12:53:25 2008
New Revision: 152213
URL: http://svn.digium.com/view/asterisk?view=rev&rev=152213
Log:
Make not crash on permissions failure
Modified:
team/eliel/cli-permissions/main/cli.c
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=152213&r1=152212&r2=152213
==============================================================================
--- team/eliel/cli-permissions/main/cli.c (original)
+++ team/eliel/cli-permissions/main/cli.c Mon Oct 27 12:53:25 2008
@@ -2268,7 +2268,7 @@
/* Check if the user has rights to run this command. */
if (!cli_has_permissions(uid, gid, tmp)) {
ast_cli(fd, "You don't have permissions to run '%s' command\n", tmp);
- ast_free(dup);
+ ast_free(duplicate);
return 0;
}
More information about the asterisk-commits
mailing list