mirror of
https://github.com/overte-org/overte.git
synced 2025-06-25 16:49:58 +02:00
add newlines to assignment-server logging so it doesn't clog up
This commit is contained in:
parent
fe3b4a6654
commit
e73ef6204d
1 changed files with 4 additions and 4 deletions
|
@ -42,8 +42,8 @@ int main(int argc, const char* argv[]) {
|
||||||
// construct the requested assignment from the packet data
|
// construct the requested assignment from the packet data
|
||||||
Assignment requestAssignment(senderData, receivedBytes);
|
Assignment requestAssignment(senderData, receivedBytes);
|
||||||
|
|
||||||
qDebug() << "Received request for assignment:" << requestAssignment;
|
qDebug() << "Received request for assignment:" << requestAssignment << "\n";
|
||||||
qDebug() << "Current queue size is" << assignmentQueue.size();
|
qDebug() << "Current queue size is" << assignmentQueue.size() << "\n";
|
||||||
|
|
||||||
// make sure there are assignments in the queue at all
|
// make sure there are assignments in the queue at all
|
||||||
if (assignmentQueue.size() > 0) {
|
if (assignmentQueue.size() > 0) {
|
||||||
|
@ -92,8 +92,8 @@ int main(int argc, const char* argv[]) {
|
||||||
// construct the create assignment from the packet data
|
// construct the create assignment from the packet data
|
||||||
Assignment* createdAssignment = new Assignment(senderData, receivedBytes);
|
Assignment* createdAssignment = new Assignment(senderData, receivedBytes);
|
||||||
|
|
||||||
qDebug() << "Received a created assignment:" << *createdAssignment;
|
qDebug() << "Received a created assignment:" << *createdAssignment << "\n";
|
||||||
qDebug() << "Current queue size is" << assignmentQueue.size();
|
qDebug() << "Current queue size is" << assignmentQueue.size() << "\n";
|
||||||
|
|
||||||
// assignment server is likely on a public server
|
// assignment server is likely on a public server
|
||||||
// assume that the address we now have for the sender is the public address/port
|
// assume that the address we now have for the sender is the public address/port
|
||||||
|
|
Loading…
Reference in a new issue