minor fix

This commit is contained in:
Michiel Broek 2002-04-10 21:24:02 +00:00
parent 3b10fb8078
commit f3d95121ad

View File

@ -609,6 +609,7 @@ void Index(void)
MacroVars("cd", "ds", Total, linebuf); MacroVars("cd", "ds", Total, linebuf);
MacroRead(fi, fm); MacroRead(fi, fm);
fclose(fi); fclose(fi);
MacroClear();
fclose(fm); fclose(fm);
sprintf(linebuf, "%s/index.html", CFG.ftp_base); sprintf(linebuf, "%s/index.html", CFG.ftp_base);
rename(fn, linebuf); rename(fn, linebuf);