summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-18 01:44:46 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-18 01:44:46 +0300
commitf8e585948bafdbef35eca175daa6c88c519cc6d0 (patch)
tree84d470afe8d9cd03e7c26ad4527d5882e297b856 /src/client.cpp
parentf2be8a660292d3c45771a400de8048cb5cd5eb8b (diff)
downloadplus-f8e585948bafdbef35eca175daa6c88c519cc6d0.tar.gz
plus-f8e585948bafdbef35eca175daa6c88c519cc6d0.tar.bz2
plus-f8e585948bafdbef35eca175daa6c88c519cc6d0.tar.xz
plus-f8e585948bafdbef35eca175daa6c88c519cc6d0.zip
increase 10 ms timer max value to INT_MAX / 2.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index d7fbea6aa..46f8c2310 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -123,6 +123,7 @@
#include <sys/stat.h>
+#include <climits>
#include <iostream>
#include <fstream>
@@ -134,7 +135,7 @@
* Tells the max tick value,
* setting it back to zero (and start again).
*/
-static const int MAX_TICK_VALUE = 10000;
+static const int MAX_TICK_VALUE = INT_MAX / 2;
// TODO: Get rid fo these globals
std::string errorMessage;