summaryrefslogtreecommitdiff
path: root/channel.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-10-14 00:46:13 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-10-14 00:46:13 +0000
commit2fe49e7a5f570f52d4f4722582ca25e947c9684e (patch)
tree89cf1dc28d7673963c6c70416fc9ce732b50c235 /channel.c
parent9a85d06a6401845a3356df61c8c4d597976cef51 (diff)
support sending text through agent channels (issue #5295)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6787 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channel.c')
-rwxr-xr-xchannel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channel.c b/channel.c
index 3218c8d11..61562f703 100755
--- a/channel.c
+++ b/channel.c
@@ -1831,7 +1831,7 @@ char *ast_recvtext(struct ast_channel *chan, int timeout)
return buf;
}
-int ast_sendtext(struct ast_channel *chan, char *text)
+int ast_sendtext(struct ast_channel *chan, const char *text)
{
int res = 0;
/* Stop if we're a zombie or need a soft hangup */