]> 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:44:55 +0000 (20:44 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Mon, 31 Aug 2015 20:44:55 +0000 (20:44 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1700336 13f79535-47bb-0310-9956-ffa450edef68

server/log.c

index 461b84c8b0a4d2b8ceefa2c2806614aa5547d73b..0508d2ff71afd107fb48c459edbbf7452023ec98 100644 (file)
@@ -421,8 +421,8 @@ int ap_open_logs(apr_pool_t *pconf, apr_pool_t *p /* plog */,
              * as stdin. This in turn would prevent the piped logger from
              * exiting.
              */
-             apr_file_close(s_main->error_log);
-             s_main->error_log = stderr_log;
+            apr_file_close(s_main->error_log);
+            s_main->error_log = stderr_log;
         }
     }
     /* note that stderr may still need to be replaced with something
@@ -563,7 +563,7 @@ static int log_ctime(const ap_errorlog_info *info, const char *arg,
     int time_len = buflen;
     int option = AP_CTIME_OPTION_NONE;
 
-    while(arg && *arg) {
+    while (arg && *arg) {
         switch (*arg) {
             case 'u':   option |= AP_CTIME_OPTION_USEC;
                         break;