diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-07 14:44:49 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-07 14:44:49 +0000 |
commit | d78e74ce7e376b55771b8933afd24f7cedfd2bd3 (patch) | |
tree | 50d16b12c128c8967f19903561eb4cce3feee13c /funcs/func_shell.c | |
parent | 11ebcfbc4a1cdb8f463df0c3e73311f0119aedf2 (diff) |
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
Diffstat (limited to 'funcs/func_shell.c')
-rw-r--r-- | funcs/func_shell.c | 2 |
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)) { |