diff options
Diffstat (limited to 'sal/osl/unx/socket.cxx')
-rw-r--r-- | sal/osl/unx/socket.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/socket.cxx b/sal/osl/unx/socket.cxx index 15ce591bade9..6b24b0ab0143 100644 --- a/sal/osl/unx/socket.cxx +++ b/sal/osl/unx/socket.cxx @@ -1979,7 +1979,7 @@ static bool socket_poll ( int result; SAL_WARN_IF( !pSocket, "sal.osl", "undefined socket" ); - if (nullptr == pSocket) + if (pSocket == nullptr) return false; /* EINVAL */ pSocket->m_nLastError = 0; |