You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ma...@apache.org on 2008/04/18 12:06:21 UTC

svn commit: r649446 - /httpd/httpd/trunk/modules/cache/cache_util.c

Author: martin
Date: Fri Apr 18 03:06:20 2008
New Revision: 649446

URL: http://svn.apache.org/viewvc?rev=649446&view=rev
Log:
Make it compile on pre-C99 compilers

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=649446&r1=649445&r2=649446&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/cache_util.c (original)
+++ httpd/httpd/trunk/modules/cache/cache_util.c Fri Apr 18 03:06:20 2008
@@ -588,6 +588,7 @@
     cache_server_conf *conf;
     char **header;
     int i;
+    apr_table_t *headers_out;
 
     /* Short circuit the common case that there are not
      * (yet) any headers populated.
@@ -600,7 +601,6 @@
      * the copy any hop-by-hop headers, as defined in Section
      * 13.5.1 of RFC 2616
      */
-    apr_table_t *headers_out;
     headers_out = apr_table_copy(pool, t);
 
     apr_table_unset(headers_out, "Connection");