open file for append, not write, so resuming works
authorJoey Hess <joeyh@joeyh.name>
Wed, 7 Dec 2016 19:06:07 +0000 (15:06 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 7 Dec 2016 19:06:07 +0000 (15:06 -0400)
commit99c36f318c7174c05f04579fa76e2b7c478dba6c
tree2e9f8d594fa12115c9fcf58647dc02a8708d654d
parentb55399e3ac23845826b32386b42f36a7a2644368
open file for append, not write, so resuming works

WriteMode zeros any existing content, so the seek filled with zeros, and
verification failed after download.
P2P/Annex.hs