mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 07:27:17 +02:00
de-refs assignments for proper logging
This commit is contained in:
parent
1a82ba2301
commit
f0b834881b
2 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@ void childClient() {
|
||||||
// construct the deployed assignment from the packet data
|
// construct the deployed assignment from the packet data
|
||||||
Assignment* deployedAssignment = AssignmentFactory::unpackAssignment(packetData, receivedBytes);
|
Assignment* deployedAssignment = AssignmentFactory::unpackAssignment(packetData, receivedBytes);
|
||||||
|
|
||||||
qDebug() << "Received an assignment -" << deployedAssignment << "\n";
|
qDebug() << "Received an assignment -" << *deployedAssignment << "\n";
|
||||||
|
|
||||||
// switch our nodelist DOMAIN_IP
|
// switch our nodelist DOMAIN_IP
|
||||||
if (packetData[0] == PACKET_TYPE_CREATE_ASSIGNMENT ||
|
if (packetData[0] == PACKET_TYPE_CREATE_ASSIGNMENT ||
|
||||||
|
|
|
@ -421,7 +421,7 @@ int main(int argc, const char* argv[]) {
|
||||||
// unpack it
|
// unpack it
|
||||||
Assignment* createAssignment = new Assignment(packetData, receivedBytes);
|
Assignment* createAssignment = new Assignment(packetData, receivedBytes);
|
||||||
|
|
||||||
qDebug() << "Received a create assignment -" << createAssignment << "\n";
|
qDebug() << "Received a create assignment -" << *createAssignment << "\n";
|
||||||
|
|
||||||
// add the assignment at the back of the queue
|
// add the assignment at the back of the queue
|
||||||
::assignmentQueueMutex.lock();
|
::assignmentQueueMutex.lock();
|
||||||
|
|
Loading…
Reference in a new issue