[asterisk-commits] jamesgolovich: trunk r85535 - /trunk/main/cli.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Oct 13 03:38:51 CDT 2007


Author: jamesgolovich
Date: Sat Oct 13 03:38:50 2007
New Revision: 85535

URL: http://svn.digium.com/view/asterisk?view=rev&rev=85535
Log:
Fix compiling cli.c due to differences with new cli system (closes issue 
0010966)

Modified:
    trunk/main/cli.c

Modified: trunk/main/cli.c
URL: http://svn.digium.com/view/asterisk/trunk/main/cli.c?view=diff&rev=85535&r1=85534&r2=85535
==============================================================================
--- trunk/main/cli.c (original)
+++ trunk/main/cli.c Sat Oct 13 03:38:50 2007
@@ -374,7 +374,7 @@
 	if (a->argc < 2 || a->argc > 3)
 		return CLI_SHOWUSAGE;
 
-	if (a->argc == 3 && !strcasecmp(argv[2], "silent"))
+	if (a->argc == 3 && !strcasecmp(a->argv[2], "silent"))
 		ast_console_toggle_mute(a->fd, 1);
 	else
 		ast_console_toggle_mute(a->fd, 0);




More information about the asterisk-commits mailing list