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

modules/loggers/mod_log_config.c

index 871fa5dd3d50137c019105decaaa9bb6261d9b2b..50f7d36dd0ec9a0d656475ef4e999501589e4b2c 100644 (file)
@@ -1204,12 +1204,13 @@ static int config_log_transaction(request_rec *r, config_log_state *cls,
     if (!log_writer) {
         ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(00645)
                 "log writer isn't correctly setup");
-         return HTTP_INTERNAL_SERVER_ERROR;
+        return HTTP_INTERNAL_SERVER_ERROR;
     }
     rv = log_writer(r, cls->log_writer, strs, strl, format->nelts, len);
-    if (rv != APR_SUCCESS)
-        ap_log_rerror(APLOG_MARK, APLOG_WARNING, rv, r, APLOGNO(00646) "Error writing to %s",
-                      cls->fname);
+    if (rv != APR_SUCCESS) {
+        ap_log_rerror(APLOG_MARK, APLOG_WARNING, rv, r, APLOGNO(00646)
+                      "Error writing to %s", cls->fname);
+    }
     return OK;
 }