summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/rasserver_entry.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/rasserver_entry.cc b/server/rasserver_entry.cc
index 2296ec8..36ed9a0 100644
--- a/server/rasserver_entry.cc
+++ b/server/rasserver_entry.cc
@@ -97,7 +97,7 @@ void RasServerEntry::compat_connectNewClient(const char *capability)
currentClientIdx = clientCount;
#else
// this id must be !=0 because otherwise in ServerComm::getClientContext() it will not be recognized as valid id, and then the "last action" time will not be updated (timeout!)
-#define SINGLETON_CLIENTID 42
+#define SINGLETON_CLIENTID ULONG_MAX
// disable client list by using only 1 element (fixed id), initialize only once
currentClientIdx = SINGLETON_CLIENTID;