More small fixes for mbfido web

This commit is contained in:
Michiel Broek
2002-04-25 21:03:54 +00:00
parent 7b2058ecd7
commit 830fc26f5c
3 changed files with 19 additions and 10 deletions

View File

@@ -307,7 +307,9 @@ void MakeStat(void)
fseek(fg, i * sizeof(hist), SEEK_SET);
fread(&hist, sizeof(hist), 1, fg);
fseek(fi, fileptr, SEEK_SET);
MacroVars("cdefghij", "sssssdds", aka2str(hist.aka), hist.system_name, hist.location,
if (!strcmp(hist.aka.domain, "(null)"))
hist.aka.domain[0] = '\0';
MacroVars("cdefghij", "sssssdds", hist.aka.zone?aka2str(hist.aka):"N/A", hist.system_name, hist.location,
adate(hist.online), t_elapsed(hist.online, hist.offline), hist.sent_bytes,
hist.rcvd_bytes, hist.inbound ? "In":"Out");
MacroRead(fi, fw);