mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-10 15:20:56 +00:00
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:
parent
5611173366
commit
14df5211af
@ -1200,6 +1200,7 @@ func (f *sendReceiveFolder) copierRoutine(in <-chan copyBlocksState, pullChan ch
|
|||||||
|
|
||||||
// Pretend we copied it.
|
// Pretend we copied it.
|
||||||
state.copiedFromOrigin()
|
state.copiedFromOrigin()
|
||||||
|
state.copyDone(block)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user