diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2006-01-17 20:49:39 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2006-01-17 20:49:39 +0000 |
commit | 5af944427f0020e9de1f92add2d6b838bf4dd7bf (patch) | |
tree | bc50fe8ab8b0a07525014092bcb1feb4eeb0f6b0 /apps | |
parent | 455f916d83f9a98a9050c8d0d74c79cedef6c88d (diff) |
suppress compiler warning
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8148 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_dial.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c index d92b4d745..3d45cf577 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -449,7 +449,8 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct localu char tmpchan[256]; char *stuff; char *tech; - char *forward_context; + const char *forward_context; + ast_copy_string(tmpchan, o->chan->call_forward, sizeof(tmpchan)); if ((stuff = strchr(tmpchan, '/'))) { *stuff = '\0'; |