patch: fix debug log failure
authorAaro Koskinen <aaro.koskinen@iki.fi>
Mon, 21 Nov 2016 22:19:50 +0000 (00:19 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 24 Nov 2016 10:38:56 +0000 (11:38 +0100)
commit2eff59667d3c590f27ee39cd0969b2221af739a0
treeeffde9a154e1ba62f5e72bc5ec9fed822dc4ee90
parent5bbee27c0fcafe60f43a294afa1352b5ddcab6f3
patch: fix debug log failure

If we reach the end of plist it means the input has still data while we
are expecting EOF. Fix the log to avoid a crash.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
editors/patch.c