From b032df402c5297f85b4a6915b2e26164b08910cd Mon Sep 17 00:00:00 2001 From: Peter Baumann Date: Thu, 2 Sep 2010 15:19:44 +0200 Subject: changed singleton indicator to better distinguish from valid client ids --- server/rasserver_entry.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit