diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-18 22:17:31 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-18 22:17:31 +0000 |
commit | c6643537f1a978097034de7ce33dcd40530da1c8 (patch) | |
tree | 84b53711ba03f3f8d0b61dcace4eca78f6ef8127 /channels/chan_oss.c | |
parent | 20dede9dcf4608236c70acd8d3ce544123d3ce9a (diff) |
constify arguments in more places where strings should not be modified (issue #6286)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8203 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_oss.c')
-rw-r--r-- | channels/chan_oss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_oss.c b/channels/chan_oss.c index 68d79c7b5..bbfa70ac6 100644 --- a/channels/chan_oss.c +++ b/channels/chan_oss.c @@ -975,7 +975,7 @@ static int console_autoanswer(int fd, int argc, char *argv[]) return RESULT_SUCCESS; } -static char *autoanswer_complete(char *line, char *word, int pos, int state) +static char *autoanswer_complete(const char *line, const char *word, int pos, int state) { int l = strlen(word); |