diff options
author | Jörg Budischewski <jbu@openoffice.org> | 2000-10-20 15:55:46 +0000 |
---|---|---|
committer | Jörg Budischewski <jbu@openoffice.org> | 2000-10-20 15:55:46 +0000 |
commit | 6ee842633cf5f40295e950bdaad4aca4a9867e20 (patch) | |
tree | e75689cd6116d1e58d78b78c6f9e4c95660ee4ca /io | |
parent | 569575ee6f8fea2828b7051a5a6332cfcdde8a2a (diff) |
socket close replaced by shutdown (shutdown is more threadsafe, because the handle is not destroyed
Diffstat (limited to 'io')
-rw-r--r-- | io/source/acceptor/acc_socket.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/io/source/acceptor/acc_socket.cxx b/io/source/acceptor/acc_socket.cxx index 3aa709bf9978..7b6c561ad94d 100644 --- a/io/source/acceptor/acc_socket.cxx +++ b/io/source/acceptor/acc_socket.cxx @@ -2,9 +2,9 @@ * * $RCSfile: acc_socket.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:24:17 $ + * last change: $Author: jbu $ $Date: 2000-10-20 16:55:46 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -308,7 +308,7 @@ namespace stoc_acceptor { // enshure close is called only once if( ! m_bIgnoreClose && 1 == osl_incrementInterlockedCount( (&m_nStatus) ) ) { - m_socket.close(); + m_socket.shutdown(); } } |