Fixes for magic announce
This commit is contained in:
parent
c355e8f03a
commit
fb1767f5a6
@ -9,8 +9,9 @@ v0.51.1 21-Feb-2004
|
|||||||
global editor (to Latin-1 for example). Local and netmail
|
global editor (to Latin-1 for example). Local and netmail
|
||||||
areas must be done by hand because they are most likely not
|
areas must be done by hand because they are most likely not
|
||||||
in a group.
|
in a group.
|
||||||
The macro templates are updated, you may want to install the
|
The macro templates are updated, you MUST install the newfiles
|
||||||
new ones.
|
macro template at least because the format changed!
|
||||||
|
Type "make help" in the examples subdirectory to see how.
|
||||||
|
|
||||||
SETUP.sh:
|
SETUP.sh:
|
||||||
Changed to support Darwin (OS X). Note that in earlier days
|
Changed to support Darwin (OS X). Note that in earlier days
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -346,7 +346,19 @@ long Report(gr_list *ta, long filepos)
|
|||||||
}
|
}
|
||||||
filepos3 = ftell(fi);
|
filepos3 = ftell(fi);
|
||||||
}
|
}
|
||||||
MacroVars("u", "s", T_File.Magic);
|
|
||||||
|
/*
|
||||||
|
* Magic request
|
||||||
|
*/
|
||||||
|
if (strlen(T_File.Magic)) {
|
||||||
|
MacroVars("u", "s", T_File.Magic);
|
||||||
|
Msg_Macro(fi);
|
||||||
|
} else {
|
||||||
|
line = calloc(MAXSTR, sizeof(char));
|
||||||
|
while ((fgets(line, MAXSTR-2, fi) != NULL) && ((line[0]!='@') || (line[1]!='|'))) {}
|
||||||
|
free(line);
|
||||||
|
}
|
||||||
|
filepos3 = ftell(fi);
|
||||||
Total++;
|
Total++;
|
||||||
Size += T_File.SizeKb;
|
Size += T_File.SizeKb;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user