This commit is contained in:
Chris Lu 2021-08-13 11:31:43 -07:00
parent e02a317d3d
commit 0c66b173a4

View file

@ -147,7 +147,7 @@ func retriedStreamFetchChunkData(writer io.Writer, urlStrings []string, cipherKe
localProcesed += len(data)
return // skip if already processed
}
data = data[len(data)-toBeSkipped:]
data = data[toBeSkipped:]
localProcesed += toBeSkipped
}
writer.Write(data)