diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-03-30 20:05:04 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-03-30 20:06:47 +0300 |
commit | 526d4363a2ad872f98eb311aeef7f2b2c838d6ff (patch) | |
tree | 489f94f8de93c7fab673781b6f97fd002f608c4e /sal/osl/unx/pipe.cxx | |
parent | 9efd80ac32a80656ed6482df69615227d12bc6d9 (diff) |
Return value 0 from connect() is not an error, errno is not set
No need to SAL_WARN it, it is a common non-exceptional case (when attempting
to start a second LO instance).
Change-Id: I26f2939d2f5b97ddfcc9e912e578b706567b3912
Diffstat (limited to 'sal/osl/unx/pipe.cxx')
-rw-r--r-- | sal/osl/unx/pipe.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sal/osl/unx/pipe.cxx b/sal/osl/unx/pipe.cxx index 98bb9a1d459d..9a559c2b8d1e 100644 --- a/sal/osl/unx/pipe.cxx +++ b/sal/osl/unx/pipe.cxx @@ -260,7 +260,6 @@ oslPipe SAL_CALL osl_psz_createPipe(const sal_Char *pszPipeName, oslPipeOptions { if ( connect(pPipe->m_Socket, reinterpret_cast<sockaddr *>(&addr), len) >= 0 ) { - SAL_WARN("sal.osl.pipe", "connect() failed: " << strerror(errno)); close (pPipe->m_Socket); __osl_destroyPipeImpl(pPipe); return NULL; |