lib/model: Correctly account handling of sparse blocks (fixes #4657)

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4658
This commit is contained in:
Jakob Borg 2018-01-11 10:36:35 +00:00
parent 5611173366
commit 14df5211af

View File

@ -1200,6 +1200,7 @@ func (f *sendReceiveFolder) copierRoutine(in <-chan copyBlocksState, pullChan ch
// Pretend we copied it.
state.copiedFromOrigin()
state.copyDone(block)
continue
}