[asterisk-commits] murf: branch group/http_mods r60275 -
/team/group/http_mods/main/minimime/
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu Apr 5 09:33:22 MST 2007
Author: murf
Date: Thu Apr 5 11:33:21 2007
New Revision: 60275
URL: http://svn.digium.com/view/asterisk?view=rev&rev=60275
Log:
There. That should hopefully fix the lengths to make sense.
Modified:
team/group/http_mods/main/minimime/mimeparser.y
Modified: team/group/http_mods/main/minimime/mimeparser.y
URL: http://svn.digium.com/view/asterisk/team/group/http_mods/main/minimime/mimeparser.y?view=diff&rev=60275&r1=60274&r2=60275
==============================================================================
--- team/group/http_mods/main/minimime/mimeparser.y (original)
+++ team/group/http_mods/main/minimime/mimeparser.y Thu Apr 5 11:33:21 2007
@@ -528,7 +528,7 @@
}
pstate->current_mimepart->opaque_body = body;
pstate->current_mimepart->body = body + offset;
- pstate->current_mimepart->opaque_length = $1.end - $1.start - 2;
+ pstate->current_mimepart->opaque_length = $1.end - $1.start - 2 + offset;
pstate->current_mimepart->length = pstate->current_mimepart->opaque_length - offset;
}
;
More information about the asterisk-commits
mailing list