]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Remove spurious {}'s never present on trunk/2.4.x
authorWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 22 Dec 2016 22:16:00 +0000 (22:16 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 22 Dec 2016 22:16:00 +0000 (22:16 +0000)
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

index f49f38690c6edf6946075084171c6748f1cbeb66..a2190b356e076d151565f35b2996666dd6d69fac 100644 (file)
@@ -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);