httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@prosa.it (David N. Welton)
Subject Re: source in cvs
Date Tue, 19 Dec 2000 00:14:19 GMT

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

Mime
View raw message