Branch: Tag:

2001-02-19

2001-02-19 16:06:16 by 0

Remove double slashes since SiteBuilder FTP is more picky nowadays.

Rev: server/base_server/module.pike:1.109
Rev: server/protocols/ftp.pike:2.48

1:   // This file is part of Roxen Webserver.   // Copyright © 1996 - 2000, Roxen IS. - // $Id: module.pike,v 1.108 2001/01/31 16:54:15 marcus Exp $ + // $Id: module.pike,v 1.109 2001/02/19 16:06:16 jonasw Exp $      #include <module_constants.h>   #include <module.h>
434:       foreach(files || ({}), string fname) {    TRACE_ENTER("stat()'ing "+ f + "/" + fname, 0); -  Stat st = stat_file(f + "/" + fname, id); +  Stat st = stat_file(replace(f + "/" + fname, "//", "/"), id);    if (st) {    res[fname] = st;    TRACE_LEAVE("OK");