You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2007/03/06 02:40:24 UTC

svn commit: r514949 - /httpd/httpd/trunk/support/logresolve.c

Author: colm
Date: Mon Mar  5 17:40:23 2007
New Revision: 514949

URL: http://svn.apache.org/viewvc?view=rev&rev=514949
Log:
correct some indentation, no functional changes

Modified:
    httpd/httpd/trunk/support/logresolve.c

Modified: httpd/httpd/trunk/support/logresolve.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/support/logresolve.c?view=diff&rev=514949&r1=514948&r2=514949
==============================================================================
--- httpd/httpd/trunk/support/logresolve.c (original)
+++ httpd/httpd/trunk/support/logresolve.c Mon Mar  5 17:40:23 2007
@@ -228,7 +228,7 @@
         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 @@
         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 @@
          * "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