You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ma...@hyperreal.org on 1998/08/28 13:02:20 UTC

cvs commit: apache-1.3/src/modules/proxy proxy_ftp.c

martin      98/08/28 04:02:20

  Modified:    src/modules/proxy proxy_ftp.c
  Log:
  Delete duplicate length calculation. The result was never used by the
  caller anyway, so the error never really showed.
  
  Revision  Changes    Path
  1.67      +0 -1      apache-1.3/src/modules/proxy/proxy_ftp.c
  
  Index: proxy_ftp.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/modules/proxy/proxy_ftp.c,v
  retrieving revision 1.66
  retrieving revision 1.67
  diff -u -r1.66 -r1.67
  --- proxy_ftp.c	1998/08/16 20:21:28	1.66
  +++ proxy_ftp.c	1998/08/28 11:02:19	1.67
  @@ -329,7 +329,6 @@
   	/* print "path/" component */
   	ap_snprintf(buf, sizeof(buf), "<A HREF=\"/%s/\">%s</A>/", path+1, reldir);
   	total_bytes_sent += ap_proxy_bputs2(buf, con->client, c);
  -	total_bytes_sent += strlen(buf);
   	*dir = '/';
       }
       ap_snprintf(buf, sizeof(buf), "</H2>\n<HR><PRE>");