[asterisk-commits] oej: branch oej/manager-check-trunk r336525 - /team/oej/manager-check-trunk/m...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Sep 19 09:21:55 CDT 2011


Author: oej
Date: Mon Sep 19 09:21:52 2011
New Revision: 336525

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=336525
Log:
Fixes suggested in review by tilghman.

Modified:
    team/oej/manager-check-trunk/main/manager.c

Modified: team/oej/manager-check-trunk/main/manager.c
URL: http://svnview.digium.com/svn/asterisk/team/oej/manager-check-trunk/main/manager.c?view=diff&rev=336525&r1=336524&r2=336525
==============================================================================
--- team/oej/manager-check-trunk/main/manager.c (original)
+++ team/oej/manager-check-trunk/main/manager.c Mon Sep 19 09:21:52 2011
@@ -6349,8 +6349,8 @@
 		return -1;
 	}
 	AST_STANDARD_APP_ARGS(args, data);
-	ast_strip(args.name);
-	ast_strip(args.param);
+	args.name = ast_strip(args.name);
+	args.param = ast_strip(args.param);
 
 	AST_RWLIST_RDLOCK(&users);
 	if (!(user = get_manager_by_name_locked(args.name))) {
@@ -6376,7 +6376,7 @@
 static struct ast_custom_function managerclient_function = {
 	.name = "AMI_CLIENT",
 	.read = function_amiclient,
-	.read_max = 2,
+	.read_max = 12,
 };
 
 static int registered = 0;




More information about the asterisk-commits mailing list