]> Some of my projects - anidbudpclient.git/commitdiff
Remove double space.
authorAPTX <marek321@gmail.com>
Fri, 16 Dec 2011 01:45:52 +0000 (02:45 +0100)
committerAPTX <marek321@gmail.com>
Fri, 16 Dec 2011 01:45:52 +0000 (02:45 +0100)
client.cpp

index 8083ca80d97c58b9c886e0d40ac6a5f9425ea995..38d213b7355f1577a2905ba6bfc3a813a61a3ad7 100644 (file)
@@ -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