blob: b88bf342a3f01a934749643d8ca3d344c44b5d94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-an,v 1.4 2002/06/18 01:45:37 itojun Exp $
--- src/main/http_protocol.c- Tue Jun 18 10:42:38 2002
+++ src/main/http_protocol.c Tue Jun 18 10:42:50 2002
@@ -2171,7 +2171,7 @@
/* Otherwise, we are in the midst of reading a chunk of data */
- len_to_read = (r->remaining > bufsiz) ? bufsiz : r->remaining;
+ len_to_read = (r->remaining > (unsigned int)bufsiz) ? bufsiz : r->remaining;
len_read = ap_bread(r->connection->client, buffer, len_to_read);
if (len_read <= 0) {
|