aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-10-14 00:46:13 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-10-14 00:46:13 +0000
commit73f73e1e7c0f9a0126ba51bc17532ec279f0556b (patch)
tree89cf1dc28d7673963c6c70416fc9ce732b50c235 /channel.c
parent73fbc1fc891c44aa3b63cde60d0dad0d8b3f696c (diff)
support sending text through agent channels (issue #5295)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6787 f38db490-d61c-443f-a65b-d21fe96a405b
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 */