Fixed crash when announcing an empty description line
This commit is contained in:
parent
7839533555
commit
8214c98287
@ -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.
|
||||
|
||||
|
@ -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));
|
||||
|
Reference in New Issue
Block a user