sal/osl/unx/pipe.cxx | 1 - 1 file changed, 1 deletion(-) New commits: commit 526d4363a2ad872f98eb311aeef7f2b2c838d6ff Author: Tor Lillqvist <t...@collabora.com> Date: Mon Mar 30 20:05:04 2015 +0300
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 diff --git a/sal/osl/unx/pipe.cxx b/sal/osl/unx/pipe.cxx index 98bb9a1..9a559c2 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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits