- construct the difference and have only one call to snprintf in build_via
authorRussell Bryant <russell@russellbryant.com>
Thu, 22 Dec 2005 02:20:44 +0000 (02:20 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 22 Dec 2005 02:20:44 +0000 (02:20 +0000)
commit1d498c35cd5b1161008291466bdc483c2a7c25ed
tree5afab9b6466047ce49eb84441a56afe2ebc3c3ce
parent134c3757d852564283fe95738b6792a9dcd9db68
- construct the difference and have only one call to snprintf in build_via
- convert some while loops to for loops
- localize some variables and remove unneeded initializations
- store result of get_header locally so it only has to be called once
- remove some duplicate calls to strcasecmp by storing result
(issue #5955)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7587 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c