[Libreoffice-commits] core.git: sal/osl

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Sat Sep 26 07:42:03 UTC 2020


 sal/osl/w32/pipe.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 7d5499c5e1bae536fe54434ff95e1fbbd2e3361d
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Fri Sep 25 11:54:14 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sat Sep 26 09:41:23 2020 +0200

    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 at yahoo.fr>

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.


More information about the Libreoffice-commits mailing list