]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Minor cleanup in chan_sip get_msg_text() function.
authorWalter Doekes <walter+asterisk@wjd.nu>
Wed, 23 Nov 2011 20:15:00 +0000 (20:15 +0000)
committerWalter Doekes <walter+asterisk@wjd.nu>
Wed, 23 Nov 2011 20:15:00 +0000 (20:15 +0000)
commit546e7517c51903ddab49c06054f90c501946db60
tree2ca92436a2414c3c175c0ff4696728c1263242ac
parent38e0ec57ee06c2744ffad370ae5cfcb0afb545e6
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

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