httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chuck Murcko <ch...@hyperreal.com>
Subject cvs commit: apache/src/modules/proxy proxy_ftp.c
Date Mon, 24 Feb 1997 05:37:56 GMT
chuck       97/02/23 21:37:55

  Modified:    src/modules/proxy  proxy_ftp.c
  Log:
  Substitute memmove() for bcopy() for ANSI/ISOness
  
  Revision  Changes    Path
  1.11      +1 -1      apache/src/modules/proxy/proxy_ftp.c
  
  Index: proxy_ftp.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/modules/proxy/proxy_ftp.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -C3 -r1.10 -r1.11
  *** proxy_ftp.c	1997/02/20 06:43:54	1.10
  --- proxy_ftp.c	1997/02/24 05:37:54	1.11
  ***************
  *** 228,234 ****
        tempurl = pstrdup(r->pool, url);
        if ((n = strcspn(tempurl, "@")) != strlen(tempurl))	/* hide user/passwd */
        {
  ! 	bcopy(tempurl, tempurl + (n - 5), 6);
    	tempurl += n - 5;	/* leave room for ftp:// */
        }
    
  --- 228,234 ----
        tempurl = pstrdup(r->pool, url);
        if ((n = strcspn(tempurl, "@")) != strlen(tempurl))	/* hide user/passwd */
        {
  ! 	memmove(tempurl + (n - 5), tempurl, 6);
    	tempurl += n - 5;	/* leave room for ftp:// */
        }
    
  
  
  

Mime
View raw message