httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r821539 - /httpd/httpd/trunk/modules/cache/cache_util.c
Date Sun, 04 Oct 2009 13:24:46 GMT
Author: minfrin
Date: Sun Oct  4 13:24:46 2009
New Revision: 821539

URL: http://svn.apache.org/viewvc?rev=821539&view=rev
Log:
Style fixes.

Modified:
    httpd/httpd/trunk/modules/cache/cache_util.c

Modified: httpd/httpd/trunk/modules/cache/cache_util.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/cache_util.c?rev=821539&r1=821538&r2=821539&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/cache_util.c (original)
+++ httpd/httpd/trunk/modules/cache/cache_util.c Sun Oct  4 13:24:46 2009
@@ -48,7 +48,8 @@
         if (url.scheme || url.hostname) {
             return 0;
         }
-    } else {
+    }
+    else {
         /* The URI scheme must be present and identical except for case. */
         if (!url.scheme || strcasecmp(filter.scheme, url.scheme)) {
             return 0;
@@ -69,7 +70,8 @@
                         url.hostname + uhostlen - fhostlen)) {
                     return 0;
                 }
-            } else if (filter.hostname[0] == '*') {
+            }
+            else if (filter.hostname[0] == '*') {
                 const size_t fhostlen = strlen(filter.hostname + 1);
                 const size_t uhostlen = url.hostname ? strlen(url.hostname) : 0;
 
@@ -77,7 +79,8 @@
                         url.hostname + uhostlen - fhostlen)) {
                     return 0;
                 }
-            } else if (!url.hostname || strcasecmp(filter.hostname, url.hostname)) {
+            }
+            else if (!url.hostname || strcasecmp(filter.hostname, url.hostname)) {
                 return 0;
             }
         }
@@ -105,7 +108,8 @@
     if (!url.path) {
         if (*filter.path == '/' && pathlen == 1) {
             return 1;
-        } else {
+        }
+        else {
             return 0;
         }
     }



Mime
View raw message