File Sharing MVP #384

Merged
sarah merged 52 commits from filesharing into master 2021-09-30 00:57:14 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit c373f68fbc - Show all commits

View File

@ -82,7 +82,7 @@ func (fsss *FileSharingSubSystem) RequestManifestParts(fileKey string) []model.P
chunkID := 0;
for i := 0; i < len(serializedManifest); i += DefaultChunkSize {
offset := i
end := (i + 1) + DefaultChunkSize
end := i + DefaultChunkSize
// truncate end
if end > len(serializedManifest) {
end = len(serializedManifest)