You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jim Jagielski <ji...@jaguNET.com> on 2000/12/15 17:34:49 UTC
[PATCH] PR 6973
Index: src/main/http_protocol.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/main/http_protocol.c,v
retrieving revision 1.295
diff -u -u -r1.295 http_protocol.c
--- src/main/http_protocol.c 2000/11/14 09:57:09 1.295
+++ src/main/http_protocol.c 2000/12/15 16:31:55
@@ -171,7 +171,7 @@
if (*start > *end)
return 0;
- return (*start > 0 || *end < clength - 1);
+ return (*start >= 0 && *end <= clength - 1);
}
static int internal_byterange(int, long *, request_rec *, const char **, long *,
--
===========================================================================
Jim Jagielski [|] jim@jaguNET.com [|] http://www.jaguNET.com/
"Casanova will have many weapons; To beat him you will
have to have more than forks and flatulence."