]> granicus.if.org Git - apache/commitdiff
Silence a sparse warning about inconsistent indenting + some minor style issues
authorChristophe Jaillet <jailletc36@apache.org>
Mon, 31 Aug 2015 20:41:18 +0000 (20:41 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Mon, 31 Aug 2015 20:41:18 +0000 (20:41 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1700335 13f79535-47bb-0310-9956-ffa450edef68

server/apreq_parser.c

index 2949994a1eb5c92217c64f6098a4fa9324f22512..58a6ef6e30ef684938ed29ae5a71c1e4df1be39e 100644 (file)
@@ -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)