From f8ead96f43927a74e2424911f0e9ed6989cd3aae Mon Sep 17 00:00:00 2001 From: Justin Erenkrantz Date: Sun, 28 Apr 2002 06:24:53 +0000 Subject: [PATCH] Simplify this little chunk of code since r is set to f->r earlier. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94831 13f79535-47bb-0310-9956-ffa450edef68 --- server/protocol.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/protocol.c b/server/protocol.c index 01cbb1a7c6..d46c6677e3 100644 --- a/server/protocol.c +++ b/server/protocol.c @@ -1145,8 +1145,7 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_content_length_filter(ap_filter_t *f, * We should be able to force connection close from this filter * when we see we are buffering too much. */ - if ((r->proto_num >= HTTP_VERSION(1, 1)) - || (!f->r->connection->keepalive)) { + if ((r->proto_num >= HTTP_VERSION(1, 1)) || (!r->connection->keepalive)) { partial_send_okay = 1; } -- 2.50.1