rx: fix file corruption on block checksum failure
authorDaniel Fandrich <dan@coneharvesters.com>
Wed, 23 Nov 2011 11:07:31 +0000 (12:07 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 23 Nov 2011 11:07:31 +0000 (12:07 +0100)
commit65a1ee956f0721ad3cebf79c0a6b3266a0676524
tree4078143c5d2c373f77abe7983722c7cecb16e07a
parentd2277e262ff7dd2dd946ea16b93462f3dcdf0447
rx: fix file corruption on block checksum failure

Rather than dropping the bad block, rx was appending it
to the file.

Signed-off-by: Daniel Fandrich <dan@coneharvesters.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/rx.c