diff options
author | Christophe Jaillet <jailletc36@apache.org> | 2015-08-31 20:46:23 +0000 |
---|---|---|
committer | Christophe Jaillet <jailletc36@apache.org> | 2015-08-31 20:46:23 +0000 |
commit | 01d13ed57bf9b21ee34d8fc67671341de7d1992b (patch) | |
tree | 5483556b1579d3cc2684f9cb08659233410f3308 /support | |
parent | 4356cbd5b35d6b86736565ca6b38a204482cb7d9 (diff) | |
download | httpd-01d13ed57bf9b21ee34d8fc67671341de7d1992b.tar.gz |
Silence a sparse warning about inconsistent indenting + some minor style issues
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1700338 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support')
-rw-r--r-- | support/logresolve.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/support/logresolve.c b/support/logresolve.c index b0ba6ec1d1..71dca45243 100644 --- a/support/logresolve.c +++ b/support/logresolve.c @@ -122,7 +122,7 @@ static void usage(void) "Options:" NL " -s Record statistics to STATFILE when finished." NL NL - " -c Perform double lookups when resolving IP addresses." NL, + " -c Perform double lookups when resolving IP addresses." NL, shortname, shortname); exit(1); } @@ -200,7 +200,7 @@ int main(int argc, const char * const argv[]) apr_file_buffer_set(outfile, outbuffer, WRITE_BUF_SIZE); cache = apr_hash_make(pool); - if(apr_pool_create(&pline, pool) != APR_SUCCESS){ + if (apr_pool_create(&pline, pool) != APR_SUCCESS) { return 1; } @@ -220,7 +220,7 @@ int main(int argc, const char * const argv[]) /* Check if this could even be an IP address */ if (!apr_isxdigit(line[0]) && line[0] != ':') { - withname++; + withname++; apr_file_puts(line, outfile); continue; } @@ -315,7 +315,7 @@ int main(int argc, const char * const argv[]) if (stats) { apr_file_t *statsfile; if (apr_file_open(&statsfile, stats, - APR_FOPEN_WRITE | APR_FOPEN_CREATE | APR_FOPEN_TRUNCATE, + APR_FOPEN_WRITE | APR_FOPEN_CREATE | APR_FOPEN_TRUNCATE, APR_OS_DEFAULT, pool) != APR_SUCCESS) { apr_file_printf(errfile, "%s: Could not open %s for writing.", shortname, stats); |