diff options
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/w32/pipe.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/osl/w32/pipe.cxx b/sal/osl/w32/pipe.cxx index 06a6bf82d98d..3e71ef1d44d2 100644 --- a/sal/osl/w32/pipe.cxx +++ b/sal/osl/w32/pipe.cxx @@ -285,7 +285,7 @@ oslPipe SAL_CALL osl_acceptPipe(oslPipe pPipe) OVERLAPPED os = {}; - DWORD nBytesTransfered; + DWORD nBytesTransferred; rtl_uString* path = nullptr; rtl_uString* temp = nullptr; @@ -311,7 +311,7 @@ oslPipe SAL_CALL osl_acceptPipe(oslPipe pPipe) case ERROR_IO_PENDING: // This is normal if not client is connected yet case ERROR_MORE_DATA: // Should not happen // blocking call to accept - if( !GetOverlappedResult(pPipe->m_File, &os, &nBytesTransfered, TRUE)) + if( !GetOverlappedResult(pPipe->m_File, &os, &nBytesTransferred, TRUE)) { // Possible error could be that between ConnectNamedPipe and // GetOverlappedResult a connect took place. |