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
This commit is contained in:
Tilghman Lesher
2007-01-07 14:44:49 +00:00
parent 6b13c4d7d4
commit 785483f304
3 changed files with 25 additions and 3 deletions

View File

@@ -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)) {