diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2005-12-03 19:25:33 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2005-12-03 19:25:33 +0000 |
commit | 870f98f02de56e35b87f511544a6cda3d4d8fe69 (patch) | |
tree | f1b09ce6fd8d356c12bfe4e6b4e24e8f97ef1154 /channels/chan_mgcp.c | |
parent | 6a6b88c0e33e0e60dbf8039d24d2e8815d194cae (diff) |
Bug 5858 - Make the chanvars.c functions return a 'const char *'
This should prevent us from unintentionally changing variable
values when they're returned from pbx_builtin_getvar_helper.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_mgcp.c')
-rw-r--r-- | channels/chan_mgcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c index 4447bd7ff..f22616891 100644 --- a/channels/chan_mgcp.c +++ b/channels/chan_mgcp.c @@ -889,7 +889,7 @@ static int mgcp_call(struct ast_channel *ast, char *dest, int timeout) struct mgcp_endpoint *p; struct mgcp_subchannel *sub; char tone[50] = ""; - char *distinctive_ring = NULL; + const char *distinctive_ring = NULL; struct varshead *headp; struct ast_var_t *current; |