From 686d1828673ffd234d6bb1fe9da530a2d8758723 Mon Sep 17 00:00:00 2001 From: APTX Date: Fri, 16 Dec 2011 02:45:52 +0100 Subject: [PATCH] Remove double space. --- client.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client.cpp b/client.cpp index 8083ca8..38d213b 100644 --- a/client.cpp +++ b/client.cpp @@ -558,7 +558,7 @@ qDebug() << QString("Sending reply to command with id: %1") { // If we got the first command sent, we update the replyTimeoutTimer to count the remaining time untill timeout. // This should be less than Client::UDP_API_COMMAND_TIMEOUT, but never negative. - int newTimeout = qBound(0, Client::UDP_API_COMMAND_TIMEOUT - sentCommands[commandId]->timeSent().secsTo(QDateTime::currentDateTime()), Client::UDP_API_COMMAND_TIMEOUT); + int newTimeout = qBound(0, Client::UDP_API_COMMAND_TIMEOUT - sentCommands[commandId]->timeSent().secsTo(QDateTime::currentDateTime()), Client::UDP_API_COMMAND_TIMEOUT); newTimeout *= 1000; replyTimeoutTimer->start(newTimeout); #ifdef ANIDBUDPCLIENT_CLIENT_MISC_DEBUG @@ -795,7 +795,7 @@ qDebug() << commandId << "timed out"; #endif if (!sentCommandOrder.isEmpty()) { - int newTimeout = qBound(0, Client::UDP_API_COMMAND_TIMEOUT - sentCommands[commandId]->timeSent().secsTo(QDateTime::currentDateTime()), Client::UDP_API_COMMAND_TIMEOUT); + int newTimeout = qBound(0, Client::UDP_API_COMMAND_TIMEOUT - sentCommands[commandId]->timeSent().secsTo(QDateTime::currentDateTime()), Client::UDP_API_COMMAND_TIMEOUT); newTimeout *= 1000; replyTimeoutTimer->start(newTimeout); #ifdef ANIDBUDPCLIENT_CLIENT_MISC_DEBUG -- 2.52.0