]> git.pond.sub.org Git - empserver/commit
update: Clean up misuse of wu() in prod_nat()
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 11 Jan 2015 11:25:03 +0000 (12:25 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Mon, 2 Mar 2015 07:20:49 +0000 (08:20 +0100)
commit9e643dad00dbe1a5dcc2a989bb2b767c9863d787
treed287c5af27ec3b8e1b7b48666a27ff51de56fd27
parent9a4f1ce9ef745a5a4f42a1cbedda3d1837b7fd04
update: Clean up misuse of wu() in prod_nat()

Don't use multiple calls of wu() to print a single line, because that
creates a separate telegram for each part.  The read command normally
merges the telegrams, but if they are more than five seconds apart
(clock jumped somehow), we get a telegram header in the middle of a
line.  Unlikely to happen, but clean it up anyway.

The misuse has always been there.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/lib/update/nat.c