[asterisk-commits] oej: branch 1.2 r47452 -
/branches/1.2/channels/chan_sip.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri Nov 10 11:50:09 MST 2006
Author: oej
Date: Fri Nov 10 12:50:08 2006
New Revision: 47452
URL: http://svn.digium.com/view/asterisk?view=rev&rev=47452
Log:
Fix multipart/mixed SDP support (issue 8010, alphaque)
Modified:
branches/1.2/channels/chan_sip.c
Modified: branches/1.2/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_sip.c?view=diff&rev=47452&r1=47451&r2=47452
==============================================================================
--- branches/1.2/channels/chan_sip.c (original)
+++ branches/1.2/channels/chan_sip.c Fri Nov 10 12:50:08 2006
@@ -3504,7 +3504,9 @@
for (x = 0; x < (req->lines - 2); x++) {
if (!strncasecmp(req->line[x], boundary, strlen(boundary)) &&
!strcasecmp(req->line[x + 1], "Content-Type: application/sdp")) {
- req->sdp_start = x + 2;
+ x += 2;
+ req->sdp_start = x;
+
/* search for the end of the body part */
for ( ; x < req->lines; x++) {
if (!strncasecmp(req->line[x], boundary, strlen(boundary)))
More information about the asterisk-commits
mailing list