diff options
author | Richard Mudgett <rmudgett@digium.com> | 2016-09-06 11:46:16 -0500 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2016-09-07 16:02:28 -0500 |
commit | 23d6ec7417c8ffb6a0f3bde115fc406dc534441f (patch) | |
tree | bae15d0edd2d1a1bcd6dac1db79e67111f1479bf /configs | |
parent | 249a733c17b1bce7caf5db2d44eed5d4687a71aa (diff) |
res_pjsip_messaging.c: Misc cleanups and fixes.
* Eliminated RAII_VAR in get_outbound_endpoint().
* Simplify update_to() coding. However, this function can only be a NoOp
because the To string can only be a URI and not a name-address formatted
string.
* Simplify update_from() coding. Also fixed a code path modifying the
from string when the caller could still want to use the original string.
* Fixed msg_data_create() incompletely removing the "pjsip:" to then add
back the "sip:" string if needed. The code didn't handle the "pjsip:sip:"
case because it left the colon after pjsip in the string.
Change-Id: I68a09a665f6d4daa9eaa59069045ab69122e28db
Diffstat (limited to 'configs')
0 files changed, 0 insertions, 0 deletions