diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-09-02 16:31:27 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-09-02 16:31:27 +0000 |
commit | 29eed0cba078e78e3c109ddb591d349b36a67eb3 (patch) | |
tree | dd11ce632f91c6bcbf6aa8a30a89f93335385b2e /netsvcs/lib/Token_Handler.cpp | |
parent | 91c7073b31c7123fb551fdae3218aaf4f739d7b8 (diff) | |
download | ATCD-29eed0cba078e78e3c109ddb591d349b36a67eb3.tar.gz |
*** empty log message ***
Diffstat (limited to 'netsvcs/lib/Token_Handler.cpp')
-rw-r--r-- | netsvcs/lib/Token_Handler.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/netsvcs/lib/Token_Handler.cpp b/netsvcs/lib/Token_Handler.cpp index 0e3bcbc4494..199e68763de 100644 --- a/netsvcs/lib/Token_Handler.cpp +++ b/netsvcs/lib/Token_Handler.cpp @@ -150,7 +150,7 @@ ACE_Token_Handler::acquire (ACE_Token_Proxy *proxy) return 0; } else // success - return this->send_reply (ACE_Token_Reply::SUCCESS); + return this->send_reply (0); } // Try to acquire the token. Never block. @@ -167,7 +167,7 @@ ACE_Token_Handler::try_acquire (ACE_Token_Proxy *proxy) if (proxy->tryacquire () == -1) return this->send_reply (errno); else - return this->send_reply (ACE_Token_Reply::SUCCESS); + return this->send_reply (0); } // Release the token and allow the next client that is waiting to @@ -192,7 +192,7 @@ ACE_Token_Handler::release (ACE_Token_Proxy *proxy) this->timeout_id_ = 0; } - return this->send_reply (ACE_Token_Reply::SUCCESS); + return this->send_reply (0); } // Yield the token if any clients are waiting, otherwise keep the @@ -231,7 +231,7 @@ ACE_Token_Handler::renew (ACE_Token_Proxy *proxy) } else // Success, we still hold the token. - return this->send_reply (ACE_Token_Reply::SUCCESS); + return this->send_reply (0); } /* VIRTUAL */ int @@ -477,7 +477,7 @@ ACE_Token_Handler::token_acquired (ACE_TPQ_Entry *) this->timeout_id_ = 0; } - this->send_reply (ACE_Token_Reply::SUCCESS); + this->send_reply (0); } int |