mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 20:43:44 +02:00
.
This commit is contained in:
parent
d58870a92d
commit
5da56776d6
1 changed files with 1 additions and 1 deletions
|
@ -398,8 +398,8 @@ void SoftwareUpdater::handleSoftwareUpdateUserMessage(uint64_t origin,const void
|
||||||
idx |= (unsigned long)*(reinterpret_cast<const uint8_t *>(data) + 20);
|
idx |= (unsigned long)*(reinterpret_cast<const uint8_t *>(data) + 20);
|
||||||
if (idx == _latestBin.length()) {
|
if (idx == _latestBin.length()) {
|
||||||
_latestBin.append(reinterpret_cast<const char *>(data) + 21,len - 21);
|
_latestBin.append(reinterpret_cast<const char *>(data) + 21,len - 21);
|
||||||
printf("<< DATA @%u / %u bytes\n",(unsigned int)idx,(unsigned int)(len - 21));
|
|
||||||
}
|
}
|
||||||
|
printf("<< DATA @%u / %u bytes (we now have %u bytes)\n",(unsigned int)idx,(unsigned int)(len - 21),(unsigned int)_latestBin.length());
|
||||||
|
|
||||||
if (_latestBin.length() < _latestBinLength) {
|
if (_latestBin.length() < _latestBinLength) {
|
||||||
Buffer<128> gd;
|
Buffer<128> gd;
|
||||||
|
|
Loading…
Add table
Reference in a new issue