From: Christophe Jaillet Date: Mon, 31 Aug 2015 20:41:18 +0000 (+0000) Subject: Silence a sparse warning about inconsistent indenting + some minor style issues X-Git-Tag: 2.5.0-alpha~2886 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73f505193e7679702a15b5103f4350a437455c13;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/server/apreq_parser.c b/server/apreq_parser.c index 2949994a1eb..58a6ef6e30e 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)