]> granicus.if.org Git - apache/commitdiff
* modules/proxy/proxy_util.c (ap_proxy_initialize_worker): Fix
authorJoe Orton <jorton@apache.org>
Thu, 20 Apr 2006 10:35:41 +0000 (10:35 +0000)
committerJoe Orton <jorton@apache.org>
Thu, 20 Apr 2006 10:35:41 +0000 (10:35 +0000)
gcc strict-aliasing warning.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@395552 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/proxy_util.c

index fe0e91f4ab15fb3f4130a665d77afdc3ace8e2c5..d83d22bdfec830cd04ddf993e2293df38b206cbf 100644 (file)
@@ -1719,8 +1719,11 @@ PROXY_DECLARE(apr_status_t) ap_proxy_initialize_worker(proxy_worker *worker, ser
     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);