You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2010/02/09 15:17:47 UTC

svn commit: r908042 - /httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c

Author: trawick
Date: Tue Feb  9 14:17:46 2010
New Revision: 908042

URL: http://svn.apache.org/viewvc?rev=908042&view=rev
Log:
style tweaks

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

Modified: httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c?rev=908042&r1=908041&r2=908042&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c Tue Feb  9 14:17:46 2010
@@ -815,12 +815,10 @@
             && idx->id_len == idlen && (idx->data_used - idx->id_len) < *destlen
             && shmcb_cyclic_memcmp(header->subcache_data_size,
                                    SHMCB_DATA(header, subcache),
-                                   idx->data_pos, id, idx->id_len) == 0)
-        {
+                                   idx->data_pos, id, idx->id_len) == 0) {
             ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s,
                          "match at idx=%d, data=%d", pos, idx->data_pos);
-            if (idx->expires > now)
-            {
+            if (idx->expires > now) {
                 unsigned int data_offset;
 
                 /* Find the offset of the data segment, after the id */
@@ -914,8 +912,7 @@
 
             ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s,
                          "iterating idx=%d, data=%d", pos, idx->data_pos);
-            if (idx->expires > now)
-            {
+            if (idx->expires > now) {
                 unsigned char *id = *buf;
                 unsigned char *dest;
                 unsigned int data_offset, dest_len;