diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-01-11 17:54:43 -0800 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-01-11 17:54:43 -0800 |
commit | 5da56776d6e68fb5ceefdc777f74cff64506e464 (patch) | |
tree | 6ad6f9414abca2448001c292f56c4d610f637bbb | |
parent | d58870a92d1826b3318063c62ea0d88f78928813 (diff) | |
download | infinitytier-5da56776d6e68fb5ceefdc777f74cff64506e464.tar.gz infinitytier-5da56776d6e68fb5ceefdc777f74cff64506e464.zip |
.
-rw-r--r-- | service/SoftwareUpdater.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/SoftwareUpdater.cpp b/service/SoftwareUpdater.cpp index 5889e3b8..6269042e 100644 --- a/service/SoftwareUpdater.cpp +++ b/service/SoftwareUpdater.cpp @@ -398,8 +398,8 @@ void SoftwareUpdater::handleSoftwareUpdateUserMessage(uint64_t origin,const void idx |= (unsigned long)*(reinterpret_cast<const uint8_t *>(data) + 20); if (idx == _latestBin.length()) { _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) { Buffer<128> gd; |