mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-01 05:25:50 +01:00
fixed crc length bug
This commit is contained in:
parent
b78239e7be
commit
fea4694cec
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user