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.
|
Code cleanup.
|
||||||
Added debug logging in rfc2ftn to track a rare problem.
|
Added debug logging in rfc2ftn to track a rare problem.
|
||||||
|
|
||||||
|
mbaff:
|
||||||
|
Fixed a crash when announce a empty description line.
|
||||||
|
|
||||||
mbdiff:
|
mbdiff:
|
||||||
Code cleanup.
|
Code cleanup.
|
||||||
|
|
||||||
|
@ -300,9 +300,11 @@ long Report(gr_list *ta, long filepos)
|
|||||||
* Extra description lines follow
|
* Extra description lines follow
|
||||||
*/
|
*/
|
||||||
for (i = 1; i < 24; i++) {
|
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);
|
fseek(fi, filepos2, SEEK_SET);
|
||||||
if (strlen(T_File.LDesc[i])) {
|
if (strlen(T_File.LDesc[i])) {
|
||||||
|
MacroVars("t", "s", To_Low(T_File.LDesc[i],newfiles.HiAscii));
|
||||||
Msg_Macro(fi);
|
Msg_Macro(fi);
|
||||||
} else {
|
} else {
|
||||||
line = calloc(MAXSTR, sizeof(char));
|
line = calloc(MAXSTR, sizeof(char));
|
||||||
|
Reference in New Issue
Block a user