Fix res_agi compilation after the const-ify the world merge.
authorSean Bright <sean@malleable.com>
Fri, 22 May 2009 16:51:22 +0000 (16:51 +0000)
committerSean Bright <sean@malleable.com>
Fri, 22 May 2009 16:51:22 +0000 (16:51 +0000)
commitfb39d11e6f9b0d044d42c4925ac745cd78fe6d00
tree0b294febe0dfdc81a30f324ce7fdf76614a756f0
parentee4f11cd24dc7f659ff76e47eff0825228a6eb65
Fix res_agi compilation after the const-ify the world merge.

Since we are dealing with a 'const char * const' now, we have to create a
temporary copy of the string to work on rather than the original.  Fix inspired
by reporter.  Reviewed by everyone-and-their-mother in #asterisk-dev.

(closes issue #15184)
Reported by: andrew

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@196270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_agi.c