Small fix for setting macros in forwarding files
This commit is contained in:
parent
405179d602
commit
99194c2925
@ -136,16 +136,18 @@ void ForwardFile(fidoaddr Node, fa_list *sbl)
|
||||
if ((net = SendMgrMail(fido2faddr(Node), CFG.ct_KeepMgr, TRUE, (char *)"Filemgr", subject, NULL)) != NULL) {
|
||||
if ((fi = OpenMacro("forward.tic", nodes.Language, FALSE)) != NULL) {
|
||||
ftime = TIC.FileDate;
|
||||
MacroVars("ab", "ss", TIC.TicIn.Area, tic.Comment);
|
||||
MacroVars("cd", "ds", TIC.FileCost, fgroup.Comment);
|
||||
MacroVars("fg", "sd", TIC.TicIn.FullName, TIC.FileSize);
|
||||
MacroVars("hi", "ds", TIC.FileSize / 1024, TIC.TicIn.Crc);
|
||||
MacroVars("jm", "ss", TIC.TicIn.Origin, rfcdate(ftime));
|
||||
MacroVars("ns", "ss", TIC.TicIn.Desc, nodes.Sysop);
|
||||
// MacroVars("abcdfghijmns", "ssdssddsssss", TIC.TicIn.Area, tic.Comment, TIC.FileCost, fgroup.Comment,
|
||||
// TIC.TicIn.FullName, TIC.FileSize, TIC.FileSize / 1024,
|
||||
// TIC.TicIn.Crc, TIC.TicIn.Origin, rfcdate(ftime),
|
||||
// TIC.TicIn.Desc, nodes.Sysop);
|
||||
MacroVars("a", "s", TIC.TicIn.Area);
|
||||
MacroVars("b", "s", tic.Comment);
|
||||
MacroVars("c", "d", TIC.FileCost);
|
||||
MacroVars("d", "s", fgroup.Comment);
|
||||
MacroVars("f", "s", TIC.TicIn.FullName);
|
||||
MacroVars("g", "d", TIC.FileSize);
|
||||
MacroVars("h", "d", (TIC.FileSize / 1024));
|
||||
MacroVars("i", "s", TIC.TicIn.Crc);
|
||||
MacroVars("j", "s", TIC.TicIn.Origin);
|
||||
MacroVars("m", "s", rfcdate(ftime));
|
||||
MacroVars("n", "s", TIC.TicIn.Desc);
|
||||
MacroVars("s", "s", nodes.Sysop);
|
||||
if (TIC.SendOrg)
|
||||
MacroVars("e", "s", TIC.RealName);
|
||||
else
|
||||
|
Reference in New Issue
Block a user