From 73f505193e7679702a15b5103f4350a437455c13 Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Mon, 31 Aug 2015 20:41:18 +0000 Subject: [PATCH] Silence a sparse warning about inconsistent indenting + some minor style issues git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1700335 13f79535-47bb-0310-9956-ffa450edef68 --- server/apreq_parser.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/server/apreq_parser.c b/server/apreq_parser.c index 2949994a1e..58a6ef6e30 100644 --- a/server/apreq_parser.c +++ b/server/apreq_parser.c @@ -176,7 +176,7 @@ APREQ_DECLARE(apreq_parser_function_t)apreq_parser(const char *enctype) if (enctype == NULL || default_parsers_lock == 0) return NULL; - while(enctype[tlen] && enctype[tlen] != ';') + while (enctype[tlen] && enctype[tlen] != ';') ++tlen; f = apr_hash_get(default_parsers, enctype, tlen); @@ -311,7 +311,7 @@ APREQ_DECLARE_HOOK(apreq_hook_apr_xml_parser) else { ctx->status = XML_ERROR; } - return s; + return s; } else if (APR_BUCKET_IS_METADATA(e)) { continue; @@ -330,7 +330,6 @@ APREQ_DECLARE_HOOK(apreq_hook_apr_xml_parser) ctx->status = XML_ERROR; return s; } - } if (hook->next) -- 2.40.0