diff --git a/ChangeLog b/ChangeLog index 7ec9a20a..d870e7f6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18,6 +18,9 @@ v0.71.5 18-Aug-2005 Code cleanup. Added debug logging in rfc2ftn to track a rare problem. + mbaff: + Fixed a crash when announce a empty description line. + mbdiff: Code cleanup. diff --git a/mbfido/announce.c b/mbfido/announce.c index cd3826d1..c35a5365 100644 --- a/mbfido/announce.c +++ b/mbfido/announce.c @@ -300,9 +300,11 @@ long Report(gr_list *ta, long filepos) * Extra description lines follow */ for (i = 1; i < 24; i++) { - MacroVars("t", "s", To_Low(T_File.LDesc[i],newfiles.HiAscii)); +// if (strlen(T_File.LDesc[i])) +// MacroVars("t", "s", To_Low(T_File.LDesc[i],newfiles.HiAscii)); fseek(fi, filepos2, SEEK_SET); if (strlen(T_File.LDesc[i])) { + MacroVars("t", "s", To_Low(T_File.LDesc[i],newfiles.HiAscii)); Msg_Macro(fi); } else { line = calloc(MAXSTR, sizeof(char));