mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 23:10:02 +02:00
wip
This commit is contained in:
parent
3bcfb2291a
commit
c1daba9595
@ -216,7 +216,7 @@ int verifyChecksumFromFile(char *mess, char *clientChecksum, char *fname, ssize_
|
||||
}
|
||||
const int readUnitSize = 128;
|
||||
char buf[readUnitSize + 1];
|
||||
bytes = fread(buf, 1, readUnitSize + 1, fp);
|
||||
ssize_t bytes = fread(buf, 1, readUnitSize + 1, fp);
|
||||
// the first time, extra bytes are read
|
||||
ssize_t totalBytesRead = bytes - 1;
|
||||
char lastByte = buf[0];
|
||||
|
Loading…
x
Reference in New Issue
Block a user