summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-09-25 11:54:14 +0200
committerJulien Nabet <serval2412@yahoo.fr>2020-09-26 09:41:23 +0200
commit7d5499c5e1bae536fe54434ff95e1fbbd2e3361d (patch)
tree4d6ef5a2be1a2647e005c1cdcb78c52bebd2d1bd /sal
parent5ddfa8cecbdf70c23b30f74d8220fae0c5fb22fa (diff)
Fix typo in code
It passed "make check" on Linux Change-Id: I61781bccc365630f15a9baef5224012b0775edbe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103446 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/w32/pipe.cxx4
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.