Fixed some html escaping for test

This commit is contained in:
Michiel Broek 2005-01-02 15:36:09 +00:00
parent c9c4773a32
commit 1bec80b5a1
2 changed files with 11 additions and 4 deletions

View File

@ -24,6 +24,10 @@ v0.71.1 28-Nov-2004
During hangup we set sighup to ignore.
Fixed keyboad input for all bigendian machines.
mbfido:
With html create some entries are not forced to use html
entinities. For test!
mbfile:
The adopt command now first checks if the filename is 8.3 or a
long filename and the correct format for import is then set.

View File

@ -127,7 +127,7 @@ void MakeStat(void)
}
Syslog('+', "Start making statistic HTML pages");
name = calloc(128, sizeof(char));
name = calloc(PATH_MAX, sizeof(char));
if (Miy == 0)
Lm = 11;
else
@ -365,9 +365,12 @@ void MakeStat(void)
if (!strcmp(hist.aka.domain, "(null)"))
hist.aka.domain[0] = '\0';
MacroVars("c", "s", hist.aka.zone ? aka2str(hist.aka):" ");
MacroVars("d", "s", hist.system_name);
MacroVars("e", "s", hist.sysop);
MacroVars("f", "s", hist.location);
html_massage(hist.system_name, name);
MacroVars("d", "s", name);
html_massage(hist.sysop, name);
MacroVars("e", "s", name);
html_massage(hist.location, name);
MacroVars("f", "s", name);
MacroVars("g", "s", strlen(hist.tty) ? hist.tty:" ");
MacroVars("h", "s", adate(hist.online));
MacroVars("i", "s", t_elapsed(hist.online, hist.offline));