httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r1055771 - /httpd/httpd/trunk/modules/proxy/proxy_util.c
Date Thu, 06 Jan 2011 07:24:22 GMT
Author: rpluem
Date: Thu Jan  6 07:24:22 2011
New Revision: 1055771

URL: http://svn.apache.org/viewvc?rev=1055771&view=rev
Log:
* Be ANSI C compatible

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

Modified: httpd/httpd/trunk/modules/proxy/proxy_util.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/proxy_util.c?rev=1055771&r1=1055770&r2=1055771&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/proxy_util.c (original)
+++ httpd/httpd/trunk/modules/proxy/proxy_util.c Thu Jan  6 07:24:22 2011
@@ -349,10 +349,11 @@ PROXY_DECLARE(const char *)
 PROXY_DECLARE(request_rec *)ap_proxy_make_fake_req(conn_rec *c, request_rec *r)
 {
     apr_pool_t *pool;
+    request_rec *rp;
 
     apr_pool_create(&pool, c->pool);
 
-    request_rec *rp = apr_pcalloc(pool, sizeof(*r));
+    rp = apr_pcalloc(pool, sizeof(*r));
 
     rp->pool            = pool;
     rp->status          = HTTP_OK;



Mime
View raw message