summaryrefslogtreecommitdiff
path: root/support/logresolve.c
diff options
context:
space:
mode:
authorJim Jagielski <jim@apache.org>2005-11-10 15:05:51 +0000
committerJim Jagielski <jim@apache.org>2005-11-10 15:05:51 +0000
commit5d2fae4818e5eca5c32f439da1dbaed1bb2dad1b (patch)
tree2a13a8ff035825ec1a1ade1a3516f266c2ad38c7 /support/logresolve.c
parentb87b4fa9a0d72477dae176c91c510ae7e4845a96 (diff)
downloadhttpd-5d2fae4818e5eca5c32f439da1dbaed1bb2dad1b.tar.gz
No functional change: simple detabbing of indented code.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@332305 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/logresolve.c')
-rw-r--r--support/logresolve.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/support/logresolve.c b/support/logresolve.c
index 3d28b72112..f490745b6a 100644
--- a/support/logresolve.c
+++ b/support/logresolve.c
@@ -214,7 +214,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;
}
@@ -228,7 +228,7 @@ int main(int argc, const char * const argv[])
hostname = (char *) apr_hash_get(cache, line, APR_HASH_KEY_STRING);
if (hostname) {
apr_file_printf(outfile, "%s %s", hostname, space + 1);
- cachehits++;
+ cachehits++;
continue;
}
@@ -236,7 +236,7 @@ int main(int argc, const char * const argv[])
status = apr_sockaddr_info_get(&ip, line, APR_UNSPEC ,0, 0, pool);
if (status != APR_SUCCESS) {
/* Not an IP address */
- withname++;
+ withname++;
*space = ' ';
apr_file_puts(line, outfile);
continue;
@@ -246,7 +246,7 @@ int main(int argc, const char * const argv[])
* "parsed as an IP address". It does not mean we actually resolved
* the IP address into a hostname.
*/
- resolves++;
+ resolves++;
/* From here on our we cache each result, even if it was not
* succesful