From d78e74ce7e376b55771b8933afd24f7cedfd2bd3 Mon Sep 17 00:00:00 2001 From: tilghman Date: Sun, 7 Jan 2007 14:44:49 +0000 Subject: Modifications to allow the output of SHELL() to be split per line (Issue 8676) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49786 f38db490-d61c-443f-a65b-d21fe96a405b --- funcs/func_shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'funcs/func_shell.c') diff --git a/funcs/func_shell.c b/funcs/func_shell.c index fc155e9b3..b2557fba9 100644 --- a/funcs/func_shell.c +++ b/funcs/func_shell.c @@ -39,7 +39,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/utils.h" #include "asterisk/app.h" -static int shell_helper(struct ast_channel *chan, char *cmd, char *data, +static int shell_helper(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t len) { if (ast_strlen_zero(data)) { -- cgit v1.2.3