summaryrefslogtreecommitdiff
path: root/io/source/connector/ctr_socket.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'io/source/connector/ctr_socket.cxx')
-rw-r--r--io/source/connector/ctr_socket.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/io/source/connector/ctr_socket.cxx b/io/source/connector/ctr_socket.cxx
index 292a002b800c..f6103933a72a 100644
--- a/io/source/connector/ctr_socket.cxx
+++ b/io/source/connector/ctr_socket.cxx
@@ -212,7 +212,7 @@ namespace stoc_connector {
::com::sun::star::uno::RuntimeException)
{
// ensure that close is called only once
- if( 1 == osl_incrementInterlockedCount( (&m_nStatus) ) )
+ if( 1 == osl_atomic_increment( (&m_nStatus) ) )
{
m_socket.shutdown();
notifyListeners(this, &_closed, callClosed);