trawick 00/09/05 12:24:14
Modified: src/ap ap_buckets_pipe.c
Log:
Fix invalid check for bytes-read-from-pipe.
Submitted by: Victor J. Orlikowski <v.j.orlikowski@gte.net>
Reviewed by: Jeff Trawick
Revision Changes Path
1.6 +1 -1 apache-2.0/src/ap/ap_buckets_pipe.c
Index: ap_buckets_pipe.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/ap/ap_buckets_pipe.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ap_buckets_pipe.c 2000/09/04 05:42:20 1.5
+++ ap_buckets_pipe.c 2000/09/05 19:24:13 1.6
@@ -85,7 +85,7 @@
free(buf);
return rv;
}
- if (len > 0) {
+ if (*len > 0) {
a = ap_bucket_create_pipe(bd->thepipe);
b = ap_bucket_make_heap(b, buf, *len, 0, NULL);
|