$Log$
+ Revision 605.42 2003/04/29 04:41:22 ajc
+ * Fix an off-by-one error in the mime parser
+
Revision 605.41 2003/04/29 04:13:58 ajc
* mime parser: look for the "name=" subfield tacked onto either
Content-type or Content-disposition, wherever it finds it.
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
-
++length;
}
part_end = content_end;
+ /* fix an off-by-one error */
+ --part_end;
+ --length;
/* Truncate if the header told us to */
if ( (content_length > 0) && (length > content_length) ) {