]> git.pond.sub.org Git - empserver/commit
news: Raise the limit for "number of times" from 127 to 65535
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 27 Jun 2016 19:34:42 +0000 (21:34 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 6 Aug 2017 18:09:17 +0000 (20:09 +0200)
commitfda2ecb9103373ab2d52b8675ad508768a9492c4
tree7770253e790c3fc1a9fadbf6f7649a0864d803ad
parent68e595af8afcb20f06a5ebd63f201e2e4a1c96df
news: Raise the limit for "number of times" from 127 to 65535

News reporting merges news items into recent items with same contents,
until their count reaches 127.  Raise that limit to 65535, by making
struct nwsstr member nws_ntm unsigned short.  Size of struct nwsstr
stays the same on all common machines.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
include/news.h
src/lib/common/nsc.c
src/lib/subs/nreport.c