diff options
author | Christophe Jaillet <jailletc36@apache.org> | 2015-08-31 22:44:55 +0200 |
---|---|---|
committer | Christophe Jaillet <jailletc36@apache.org> | 2015-08-31 22:44:55 +0200 |
commit | 4356cbd5b35d6b86736565ca6b38a204482cb7d9 (patch) | |
tree | fe780cf1e2422b515d6334b9f07a5244fc52a4d4 /server/log.c | |
parent | Silence a sparse warning about inconsistent indenting + some minor style issues (diff) | |
download | apache2-4356cbd5b35d6b86736565ca6b38a204482cb7d9.tar.xz apache2-4356cbd5b35d6b86736565ca6b38a204482cb7d9.zip |
Silence a sparse warning about inconsistent indenting + some minor style issues
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1700336 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/log.c')
-rw-r--r-- | server/log.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/log.c b/server/log.c index 461b84c8b0..0508d2ff71 100644 --- a/server/log.c +++ b/server/log.c @@ -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; |