httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r707665 - /httpd/httpd/trunk/modules/proxy/ajp_header.c
Date Fri, 24 Oct 2008 16:00:10 GMT
Author: rpluem
Date: Fri Oct 24 09:00:10 2008
New Revision: 707665

URL: http://svn.apache.org/viewvc?rev=707665&view=rev
Log:
* save_table needs to be declared first before it can be used.

Modified:
    httpd/httpd/trunk/modules/proxy/ajp_header.c

Modified: httpd/httpd/trunk/modules/proxy/ajp_header.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/ajp_header.c?rev=707665&r1=707664&r2=707665&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/ajp_header.c (original)
+++ httpd/httpd/trunk/modules/proxy/ajp_header.c Fri Oct 24 09:00:10 2008
@@ -498,12 +498,14 @@
 
     rc = ajp_msg_get_uint16(msg, &num_headers);
     if (rc == APR_SUCCESS) {
+        apr_table_t *save_table;
+
         /* First, tuck away all already existing cookies */
         /*
          * Could optimize here, but just in case we want to
          * also save other headers, keep this logic.
          */
-        save_table = apr_table_make(r->pool, num_headers+2);
+        save_table = apr_table_make(r->pool, num_headers + 2);
         apr_table_do(addit_dammit, save_table, r->headers_out,
                      "Set-Cookie", NULL);
         r->headers_out = save_table;



Mime
View raw message