more debugging

This commit is contained in:
Seth Alves 2015-04-16 15:52:48 -07:00
parent ea8dcfa5b5
commit 3b2a15f76a
2 changed files with 2 additions and 1 deletions

View file

@ -97,7 +97,7 @@
bytesRead += sizeof(length); \ bytesRead += sizeof(length); \
QByteArray ba((const char*)dataAt, length); \ QByteArray ba((const char*)dataAt, length); \
QUuid value = QUuid::fromRfc4122(ba); \ QUuid value = QUuid::fromRfc4122(ba); \
qDebug() << "UUID" << value; \ qDebug() << "READING UUID" << (unsigned int)ba[0] << (unsigned int)ba[1] << value << length; \
dataAt += length; \ dataAt += length; \
bytesRead += length; \ bytesRead += length; \
if (overwriteLocalData) { \ if (overwriteLocalData) { \

View file

@ -418,6 +418,7 @@ bool OctreePacketData::appendValue(const QUuid& uuid) {
bool success = appendValue(length); bool success = appendValue(length);
if (success) { if (success) {
success = appendRawData((const unsigned char*)bytes.constData(), bytes.size()); success = appendRawData((const unsigned char*)bytes.constData(), bytes.size());
qDebug() << "SENDING UUID" << (unsigned int)bytes[0] << (unsigned int)bytes[1] << uuid << length;
} }
return success; return success;
} }