Optimize sendmessage() use of getnatp()
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 5 Feb 2011 10:17:40 +0000 (11:17 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 13 Feb 2011 15:06:23 +0000 (16:06 +0100)
commite21f5035cb955a975e3b119ea86692862caa2329
tree60e76e1dee45d6d2adcc86c6ec78807e9d15bcd9
parentfc633a4f1fe8900b08fca8e9975b38fcfbd23808
Optimize sendmessage() use of getnatp()

Don't call it when its value must be TO anyway.

While there, oops when it fails instead of recovering silently.
src/lib/commands/flash.c