fixed crc length bug

This commit is contained in:
dakhnod 2019-12-13 17:02:15 +01:00 committed by Andreas Shimokawa
parent b78239e7be
commit fea4694cec

View File

@ -201,7 +201,7 @@ public class FilePutRequest extends FossilRequest {
CRC32C crc = new CRC32C();
crc.update(file,0,data.length);
crc.update(file,0,file.length);
buffer.putInt((int) crc.getValue());
byte[] data = buffer.array();