You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2004/08/11 23:45:53 UTC

cvs commit: httpd-2.0/modules/proxy proxy_util.c

wrowe       2004/08/11 14:45:53

  Modified:    modules/proxy proxy_util.c
  Log:
    Missed a 2.0-HEAD proxy back-compat patch
  
  Revision  Changes    Path
  1.109     +4 -0      httpd-2.0/modules/proxy/proxy_util.c
  
  Index: proxy_util.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/proxy/proxy_util.c,v
  retrieving revision 1.108
  retrieving revision 1.109
  diff -u -r1.108 -r1.109
  --- proxy_util.c	29 Jun 2004 06:37:21 -0000	1.108
  +++ proxy_util.c	11 Aug 2004 21:45:53 -0000	1.109
  @@ -16,6 +16,10 @@
   /* Utility routines for Apache proxy */
   #include "mod_proxy.h"
   
  +#if (APR_MAJOR_VERSION < 1)
  +#undef apr_socket_create
  +#define apr_socket_create apr_socket_create_ex
  +#endif
   
   static int proxy_match_ipaddr(struct dirconn_entry *This, request_rec *r);
   static int proxy_match_domainname(struct dirconn_entry *This, request_rec *r);