Minor cleanup in chan_sip get_msg_text() function.
authorWalter Doekes <walter+asterisk@wjd.nu>
Wed, 23 Nov 2011 20:48:42 +0000 (20:48 +0000)
committerWalter Doekes <walter+asterisk@wjd.nu>
Wed, 23 Nov 2011 20:48:42 +0000 (20:48 +0000)
commit2ee874178ef8a1a109ee31fe23e10707387f255b
tree1d02c2320dfa5290cca237a48540a503081ae213
parentb7aee9ebc9e61ad592f1924ceff160ccab1b1ad5
Minor cleanup in chan_sip get_msg_text() function.

In r116240, get_msg_text() got an extra parameter to fix the unwanted
addition of trailing newlines to SIP MESSAGE bodies. This caused all
linefeeds to be trimmed, which isn't right either. This is a stop-gap;
the right fix is to return the original SIP request body.

Review: https://reviewboard.asterisk.org/r/1586
Reviewed by: Matt Jordan
........

Merged revisions 346147 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 346198 from http://svn.asterisk.org/svn/asterisk/branches/10

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