diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2000-03-29 06:04:10 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2000-03-29 06:04:10 +0000 |
commit | 5be954be7973e55553ddd8084bfc6598ac19f909 (patch) | |
tree | a236f740660ade0fbb560df1015fbc8c7b25217c /netsvcs | |
parent | 5abbc343fc617931ddea47ee19866621e8aaf0f2 (diff) | |
download | ATCD-5be954be7973e55553ddd8084bfc6598ac19f909.tar.gz |
ChangeLogTag:Wed Mar 29 00:01:39 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
Diffstat (limited to 'netsvcs')
-rw-r--r-- | netsvcs/lib/Client_Logging_Handler.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/netsvcs/lib/Client_Logging_Handler.cpp b/netsvcs/lib/Client_Logging_Handler.cpp index 5bdae379842..a42cc7d74a8 100644 --- a/netsvcs/lib/Client_Logging_Handler.cpp +++ b/netsvcs/lib/Client_Logging_Handler.cpp @@ -157,7 +157,10 @@ ACE_Client_Logging_Handler::handle_input (ACE_HANDLE handle) "%n: %p\n", "remove_handler"), 0); - ACE_OS::closesocket (handle); + if (handle == this->peer ().get_handle ()) + this->peer ().close (); + else + ACE_OS::closesocket (handle); ACE_DEBUG ((LM_DEBUG, "client closing down\n")); return 0; |