summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2011-01-13 13:17:47 +0100
committersb <sb@openoffice.org>2011-01-13 13:17:47 +0100
commit9616f9f8306e88c42eda6141fd895cbaf67ba59b (patch)
tree051518f1ffb3de5c869577d97b3fb29b11621d9a
parentd873a6df8039666186ec3850562d35d10ef60b5f (diff)
sb139: #i116447# osl_receivePipe triggers OSL_TRACE for non-error EOF
-rw-r--r--sal/osl/unx/pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/pipe.c b/sal/osl/unx/pipe.c
index ede4cd7e074f..069ea9990951 100644
--- a/sal/osl/unx/pipe.c
+++ b/sal/osl/unx/pipe.c
@@ -486,7 +486,7 @@ sal_Int32 SAL_CALL osl_receivePipe(oslPipe pPipe,
(sal_Char*)pBuffer,
BytesToRead, 0);
- if ( nRet <= 0 )
+ if ( nRet < 0 )
{
OSL_TRACE("osl_receivePipe failed : %i '%s'",nRet,strerror(errno));
}