]> granicus.if.org Git - apache/commitdiff
Simplify this little chunk of code since r is set to f->r earlier.
authorJustin Erenkrantz <jerenkrantz@apache.org>
Sun, 28 Apr 2002 06:24:53 +0000 (06:24 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Sun, 28 Apr 2002 06:24:53 +0000 (06:24 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94831 13f79535-47bb-0310-9956-ffa450edef68

server/protocol.c

index 01cbb1a7c66e6ca0f7b87a4fc4ccb5e381c1a295..d46c6677e347ede6c8b4514823830861d63d27fd 100644 (file)
@@ -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;
     }