From: William A. Rowe Jr Date: Thu, 22 Dec 2016 22:16:00 +0000 (+0000) Subject: Remove spurious {}'s never present on trunk/2.4.x X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c27a8678a9e5aba9f3c194b29ed57db0b9afda4e;p=thirdparty%2Fapache%2Fhttpd.git 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 --- 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);