Commit 14d28fd1 authored by Joe Orton's avatar Joe Orton
Browse files

* modules/proxy/proxy_util.c (ap_proxy_initialize_worker): Fix

gcc strict-aliasing warning.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@395552 13f79535-47bb-0310-9956-ffa450edef68
parent 3b81e922
Loading
Loading
Loading
Loading
+4 −1
Changes for modules/proxy/proxy_util.c: 4 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -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);