You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by fu...@apache.org on 2013/03/02 20:17:14 UTC

svn commit: r1451921 - /httpd/httpd/trunk/modules/proxy/proxy_util.c

Author: fuankg
Date: Sat Mar  2 19:17:14 2013
New Revision: 1451921

URL: http://svn.apache.org/r1451921
Log:
Follow-up to r1451905 to fix NetWare/Windows compilation.

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=1451921&r1=1451920&r2=1451921&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/proxy_util.c (original)
+++ httpd/httpd/trunk/modules/proxy/proxy_util.c Sat Mar  2 19:17:14 2013
@@ -2383,6 +2383,7 @@ static apr_status_t send_http_connect(pr
 }
 
 
+#if APR_HAVE_SYS_UN_H
 /* lifted from mod_proxy_fdpass.c; tweaked addrlen in connect() call */
 static apr_status_t socket_connect_un(apr_socket_t *sock,
                                       struct sockaddr_un *sa)
@@ -2426,6 +2427,7 @@ static apr_status_t socket_connect_un(ap
 
     return APR_SUCCESS;
 }
+#endif
 
 PROXY_DECLARE(int) ap_proxy_connect_backend(const char *proxy_function,
                                             proxy_conn_rec *conn,