Fix read not to split production report when update is slow
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 21 Nov 2011 06:26:02 +0000 (07:26 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 29 Dec 2011 10:47:06 +0000 (11:47 +0100)
commit17223e8fe2956f0db878480caa9e4add844216d9
tree934b37acb5deedf0134777c1f8fa68b9fc031c31
parenta0b82b8d46ad043e39709f91c36ffe1f6043d3de
Fix read not to split production report when update is slow

Adjacent telegrams are squashed together if type and sender are the
same, and the timestamp is "close enough".  This is done in two
places: rea() and typed_wu().  They're inconsistent: typed_wu()
ignores the timestamp for production reports since Empire 2, but rea()
doesn't.

Record typed_wu()'s decision in new telstr member tel_cont.  Use it in
rea().
include/tel.h
src/lib/commands/rea.c
src/lib/subs/wu.c