diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-17 20:49:39 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-17 20:49:39 +0000 |
commit | 66461f4cc95c4195fe43a4107b131b118f0f0704 (patch) | |
tree | bc50fe8ab8b0a07525014092bcb1feb4eeb0f6b0 /apps | |
parent | 982eb0aa2b2c59190a44171b64fe697b6ca415e8 (diff) |
suppress compiler warning
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8148 f38db490-d61c-443f-a65b-d21fe96a405b
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'; |