From 99194c29252d9f8ead0881c618a8a4769accb124 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Fri, 24 May 2002 17:53:16 +0000 Subject: [PATCH] Small fix for setting macros in forwarding files --- mbfido/forward.c | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/mbfido/forward.c b/mbfido/forward.c index 9299112e..d2f50526 100644 --- a/mbfido/forward.c +++ b/mbfido/forward.c @@ -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