httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaillet...@apache.org
Subject svn commit: r1700336 - /httpd/httpd/trunk/server/log.c
Date Mon, 31 Aug 2015 20:44:55 GMT
Author: jailletc36
Date: Mon Aug 31 20:44:55 2015
New Revision: 1700336

URL: http://svn.apache.org/r1700336
Log:
Silence a sparse warning about inconsistent indenting + some minor style issues

Modified:
    httpd/httpd/trunk/server/log.c

Modified: httpd/httpd/trunk/server/log.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/log.c?rev=1700336&r1=1700335&r2=1700336&view=diff
==============================================================================
--- httpd/httpd/trunk/server/log.c (original)
+++ httpd/httpd/trunk/server/log.c Mon Aug 31 20:44:55 2015
@@ -421,8 +421,8 @@ int ap_open_logs(apr_pool_t *pconf, apr_
              * 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_i
     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;



Mime
View raw message