httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r908042 - /httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c
Date Tue, 09 Feb 2010 14:17:47 GMT
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;



Mime
View raw message