httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@hyperreal.org
Subject cvs commit: apachen/src/modules/proxy proxy_util.c
Date Tue, 30 Dec 1997 23:29:48 GMT
marc        97/12/30 15:29:47

  Modified:    src/modules/proxy proxy_util.c
  Log:
  Fix broken proxy caching introduced by ap_cpystrn changes.
  
  Revision  Changes    Path
  1.40      +2 -2      apachen/src/modules/proxy/proxy_util.c
  
  Index: proxy_util.c
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/modules/proxy/proxy_util.c,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- proxy_util.c	1997/12/30 20:43:54	1.39
  +++ proxy_util.c	1997/12/30 23:29:46	1.40
  @@ -639,7 +639,7 @@
       /* now split into directory levels */
   
       for (i = k = d = 0; d < ndepth; ++d) {
  -	ap_cpystrn(&val[i], &tmp[k], nlength);
  +	memcpy(&val[i], &tmp[k], nlength);
   	k += nlength;
   	val[i + nlength] = '/';
   	i += nlength + 1;
  @@ -689,7 +689,7 @@
       /* now split into directory levels */
   
       for (i = k = d = 0; d < ndepth; ++d) {
  -	ap_cpystrn(&val[i], &tmp[k], nlength);
  +	memcpy(&val[i], &tmp[k], nlength);
   	k += nlength;
   	val[i + nlength] = '/';
   	i += nlength + 1;
  
  
  

Mime
View raw message