httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/proxy mod_proxy.c
Date Wed, 11 Aug 2004 21:59:48 GMT
wrowe       2004/08/11 14:59:48

  Modified:    modules/proxy mod_proxy.c
  Log:
  dup real and fake
  
  Submitted by: jfclere
  
  Revision  Changes    Path
  1.113     +2 -2      httpd-2.0/modules/proxy/mod_proxy.c
  
  Index: mod_proxy.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/proxy/mod_proxy.c,v
  retrieving revision 1.112
  retrieving revision 1.113
  diff -u -r1.112 -r1.113
  --- mod_proxy.c	11 Aug 2004 21:56:37 -0000	1.112
  +++ mod_proxy.c	11 Aug 2004 21:59:48 -0000	1.113
  @@ -819,8 +819,8 @@
           return "ProxyPass needs a path when not defined in a location";
   
       new = apr_array_push(conf->aliases);
  -    new->fake = f;
  -    new->real = r;
  +    new->fake = apr_pstrdup(cmd->pool, f);
  +    new->real = apr_pstrdup(cmd->pool, r);
       
       arr = apr_table_elts(params);
       elts = (const apr_table_entry_t *)arr->elts;
  
  
  

Mime
View raw message