Simplify the definition of http_uri_redirect such that only one allocation is
authorRussell Bryant <russell@russellbryant.com>
Sun, 24 Dec 2006 03:29:42 +0000 (03:29 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sun, 24 Dec 2006 03:29:42 +0000 (03:29 +0000)
commit5d5cc243c6bab4287d80d03f272945a6c9cd41b6
tree760e49b31dfcdf334ddddfcfe6f409ae0cdcb1f6
parent0e266fbfb9299cfd2dabeffe1b3b1360e259e17d
Simplify the definition of http_uri_redirect such that only one allocation is
done for exactly how much memory is needed.  This was suggested by Luigi on
the asterisk-dev mailing list.  Thanks!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/http.c