Oops, here's another one:
----
--- c/apache_multipart_buffer.c Sun Dec 17 01:36:38 2000
+++ c/apache_multipart_buffer.c Tue Dec 19 00:25:45 2000
@@ -289,7 +289,7 @@
/* copy the data */
memcpy(buf, self->buf_begin, len);
buf[len] = 0;
- if(bound && len > 0 && buf[len-1] == '\r') buf[len--] = 0;
+ if(bound && len > 0 && buf[len-1] == '\r') buf[--len] = 0;
/* update the buffer */
self->bytes_in_buffer -= len;
----
--
David N. Welton
Personal: http://www.efn.org/~davidw/
Free Software: http://people.debian.org/~davidw/
Apache Tcl: http://tcl.apache.org