diff options
author | Peter Baumann <p.baumann@jacobs-university.de> | 2010-09-02 15:19:44 +0200 |
---|---|---|
committer | www-data <www-data@ubuntu.localdomain> | 2010-10-31 12:47:41 +0100 |
commit | b032df402c5297f85b4a6915b2e26164b08910cd (patch) | |
tree | 0ffb995dc2a83bfb783b78ee3726d25de4df0e39 | |
parent | adea1749853518f67e5e91391c70ceb61e4596e8 (diff) | |
download | rasdaman-upstream-b032df402c5297f85b4a6915b2e26164b08910cd.tar.gz rasdaman-upstream-b032df402c5297f85b4a6915b2e26164b08910cd.tar.xz rasdaman-upstream-b032df402c5297f85b4a6915b2e26164b08910cd.zip |
changed singleton indicator to better distinguish from valid client ids
-rw-r--r-- | server/rasserver_entry.cc | 2 |
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; |