summaryrefslogtreecommitdiff
path: root/funcs/func_shell.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2007-01-07 14:44:49 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2007-01-07 14:44:49 +0000
commit785483f3040f47d2fd34e9904f04d6408470d083 (patch)
tree50d16b12c128c8967f19903561eb4cce3feee13c /funcs/func_shell.c
parent6b13c4d7d4dd81f77e0caac97b86380ba3151665 (diff)
Modifications to allow the output of SHELL() to be split per line (Issue 8676)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49786 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'funcs/func_shell.c')
-rw-r--r--funcs/func_shell.c2
1 files changed, 1 insertions, 1 deletions
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)) {