common: Fix copying data to estreams.
authorJustus Winter <justus@g10code.com>
Tue, 18 Oct 2016 15:57:19 +0000 (17:57 +0200)
committerJustus Winter <justus@g10code.com>
Tue, 18 Oct 2016 16:54:49 +0000 (18:54 +0200)
commit8dce5ee55a0268d196023224dcf3020306922490
tree4f5d4e10091e6d8618e233b2aff3a4bf11009c06
parent05a1e412332dd980353a4e3e59bc75ba40bae7fc
common: Fix copying data to estreams.

* common/exectool.c (copy_buffer_do_copy): Correctly account for
partially written data in the event of errors.

Signed-off-by: Justus Winter <justus@g10code.com>
common/exectool.c