diff options
author | sb <sb@openoffice.org> | 2011-01-13 13:17:47 +0100 |
---|---|---|
committer | sb <sb@openoffice.org> | 2011-01-13 13:17:47 +0100 |
commit | 9616f9f8306e88c42eda6141fd895cbaf67ba59b (patch) | |
tree | 051518f1ffb3de5c869577d97b3fb29b11621d9a | |
parent | d873a6df8039666186ec3850562d35d10ef60b5f (diff) |
sb139: #i116447# osl_receivePipe triggers OSL_TRACE for non-error EOF
-rw-r--r-- | sal/osl/unx/pipe.c | 2 |
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)); } |