httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r395552 - /httpd/httpd/trunk/modules/proxy/proxy_util.c
Date Thu, 20 Apr 2006 10:35:49 GMT
Author: jorton
Date: Thu Apr 20 03:35:41 2006
New Revision: 395552

URL: http://svn.apache.org/viewcvs?rev=395552&view=rev
Log:
* modules/proxy/proxy_util.c (ap_proxy_initialize_worker): Fix
gcc strict-aliasing warning.

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

Modified: httpd/httpd/trunk/modules/proxy/proxy_util.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/proxy/proxy_util.c?rev=395552&r1=395551&r2=395552&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/proxy_util.c (original)
+++ httpd/httpd/trunk/modules/proxy/proxy_util.c Thu Apr 20 03:35:41 2006
@@ -1719,8 +1719,11 @@
     else
 #endif
     {
+        void *conn;
+
+        rv = connection_constructor(&conn, worker, worker->cp->pool);
+        worker->cp->conn = conn;
 
-        rv = connection_constructor((void **)&(worker->cp->conn), worker, worker->cp->pool);
         ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s,
              "proxy: initialized single connection worker %d in child %" APR_PID_T_FMT "
for (%s)",
              worker->id, getpid(), worker->hostname);



Mime
View raw message