diff options
author | Mark Spencer <markster@digium.com> | 2005-03-29 06:16:49 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2005-03-29 06:16:49 +0000 |
commit | eb91006b7cf187097aef8e943a3b7a7dcfddaff9 (patch) | |
tree | 13830663d3259fc6f7f2564c09a3bde1ae38646b /channels/chan_alsa.c | |
parent | f966e5e186f14110a29d38d03992488d88348108 (diff) |
Allow functions to be written to (bug #2278, with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5296 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_alsa.c')
-rwxr-xr-x | channels/chan_alsa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_alsa.c b/channels/chan_alsa.c index fb2b93b30..d035b69a3 100755 --- a/channels/chan_alsa.c +++ b/channels/chan_alsa.c @@ -150,7 +150,7 @@ static int nosound=0; /* ZZ */ static struct ast_channel *alsa_request(const char *type, int format, void *data, int *cause); static int alsa_digit(struct ast_channel *c, char digit); -static int alsa_text(struct ast_channel *c, char *text); +static int alsa_text(struct ast_channel *c, const char *text); static int alsa_hangup(struct ast_channel *c); static int alsa_answer(struct ast_channel *c); static struct ast_frame *alsa_read(struct ast_channel *chan); @@ -479,7 +479,7 @@ static int alsa_digit(struct ast_channel *c, char digit) return 0; } -static int alsa_text(struct ast_channel *c, char *text) +static int alsa_text(struct ast_channel *c, const char *text) { ast_mutex_lock(&alsalock); ast_verbose( " << Console Received text %s >> \n", text); |