summaryrefslogtreecommitdiff
path: root/support/logresolve.c
diff options
context:
space:
mode:
authorColm MacCarthaigh <colm@apache.org>2007-03-06 01:40:23 +0000
committerColm MacCarthaigh <colm@apache.org>2007-03-06 01:40:23 +0000
commit7fb58912ef4702f23e0604b7617b0cc084131af4 (patch)
tree5169bda019b8bd4351edbcd8103b3156e22ea3ce /support/logresolve.c
parentd6ab98da93149e6538c5a8a7c4a897ed3a9f2a6d (diff)
downloadhttpd-7fb58912ef4702f23e0604b7617b0cc084131af4.tar.gz
correct some indentation, no functional changes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@514949 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/logresolve.c')
-rw-r--r--support/logresolve.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/support/logresolve.c b/support/logresolve.c
index 5414c7653d..7d7e647486 100644
--- a/support/logresolve.c
+++ b/support/logresolve.c
@@ -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++;
if (space) *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