httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject svn commit: r631107 - /httpd/httpd/trunk/modules/ssl/ssl_scache_shmcb.c
Date Tue, 26 Feb 2008 07:24:46 GMT
Author: martin
Date: Mon Feb 25 23:24:40 2008
New Revision: 631107

URL: http://svn.apache.org/viewvc?rev=631107&view=rev
Log:
Allow compilation with pre-c99 compilers

Modified:
    httpd/httpd/trunk/modules/ssl/ssl_scache_shmcb.c

Modified: httpd/httpd/trunk/modules/ssl/ssl_scache_shmcb.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_scache_shmcb.c?rev=631107&r1=631106&r2=631107&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_scache_shmcb.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_scache_shmcb.c Mon Feb 25 23:24:40 2008
@@ -763,9 +763,9 @@
             && shmcb_cyclic_memcmp(header->subcache_data_size,
                                    SHMCB_DATA(header, subcache),
                                    idx->data_pos, id, idx->id_len) == 0) {
+            unsigned int data_offset;
             ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s,
                          "match at idx=%d, data=%d", pos, idx->data_pos);
-            unsigned int data_offset;
 
             /* Find the offset of the data segment, after the id */
             data_offset = SHMCB_CYCLIC_INCREMENT(idx->data_pos, 



Mime
View raw message