From c27a8678a9e5aba9f3c194b29ed57db0b9afda4e Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Thu, 22 Dec 2016 22:16:00 +0000 Subject: [PATCH] Remove spurious {}'s never present on trunk/2.4.x git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x-merge-http-strict@1775756 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 f49f38690c6..a2190b356e0 100644 --- a/server/protocol.c +++ b/server/protocol.c @@ -222,9 +222,8 @@ AP_DECLARE(apr_status_t) ap_rgetline_core(char **s, apr_size_t n, * against APR_ASCII_LF at the end of the loop if bb only contains * zero-length buckets. */ - if (last_char) { + if (last_char) *last_char = '\0'; - } for (;;) { apr_brigade_cleanup(bb); -- 2.47.2