(nreport, filereport, ncache, addfree, findfree, delete_old_news)
(init_nreport, update_main, start_server): Switch news to be sorted list with all new news items added at the end of the list. The removal of expired news items is done at update time. Closes #766755.
This commit is contained in:
parent
55e6aca9e0
commit
3d3d6755aa
4 changed files with 80 additions and 79 deletions
|
@ -201,6 +201,7 @@ update_main(void *unused)
|
|||
ef_flush(EF_PLANE);
|
||||
ef_flush(EF_LAND);
|
||||
delete_old_announcements();
|
||||
delete_old_news();
|
||||
/* Clear all the telegram flags */
|
||||
for (cn = 0; cn < MAXNOC; cn++)
|
||||
clear_telegram_is_new(cn);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue