From 2ef6f995664aaa2ca309c8d537790688146b0ee9 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Tue, 9 Feb 2010 14:17:46 +0000 Subject: [PATCH] style tweaks git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@908042 13f79535-47bb-0310-9956-ffa450edef68 --- modules/cache/mod_socache_shmcb.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/modules/cache/mod_socache_shmcb.c b/modules/cache/mod_socache_shmcb.c index a632e07fed..9440ae56a3 100644 --- a/modules/cache/mod_socache_shmcb.c +++ b/modules/cache/mod_socache_shmcb.c @@ -815,12 +815,10 @@ static int shmcb_subcache_retrieve(server_rec *s, SHMCBHeader *header, && 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 @@ static apr_status_t shmcb_subcache_iterate(ap_socache_instance_t *instance, 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; -- 2.40.0