]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Partial Backport of r1746884, no-op changes that introduce patch conflicts.
authorWilliam A. Rowe Jr <wrowe@apache.org>
Sat, 12 Nov 2016 23:47:29 +0000 (23:47 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Sat, 12 Nov 2016 23:47:29 +0000 (23:47 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x-merge-http-strict@1769454 13f79535-47bb-0310-9956-ffa450edef68

server/protocol.c

index 487c362732a709f7bd03df4742340af2908d07b5..9b8c19263a365da797a49c3483125c3c1d953535 100644 (file)
@@ -400,7 +400,8 @@ AP_DECLARE(apr_status_t) ap_rgetline_core(char **s, apr_size_t n,
                      */
                     if (do_alloc) {
                         tmp = NULL;
-                    } else {
+                    }
+                    else {
                         /* We're null terminated. */
                         tmp = last_char;
                     }
@@ -605,7 +606,7 @@ static int read_request_line(request_rec *r, apr_bucket_brigade *bb)
              * happen if it exceeds the configured limit for a request-line.
              */
             if (APR_STATUS_IS_ENOSPC(rv)) {
-                r->status    = HTTP_REQUEST_URI_TOO_LARGE;
+                r->status = HTTP_REQUEST_URI_TOO_LARGE;
             }
             else if (APR_STATUS_IS_TIMEUP(rv)) {
                 r->status = HTTP_REQUEST_TIME_OUT;
@@ -656,7 +657,8 @@ static int read_request_line(request_rec *r, apr_bucket_brigade *bb)
         r->assbackwards = 0;
         pro = ll;
         len = strlen(ll);
-    } else {
+    }
+    else {
         r->assbackwards = 1;
         pro = "HTTP/0.9";
         len = 8;