[Libreoffice-commits] core.git: sd/source

Tor Lillqvist tml at iki.fi
Tue Feb 19 08:25:44 PST 2013


 sd/source/ui/remotecontrol/BufferedStreamSocket.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 49db90342f193f31500b2717cc27bdf2f25e2d95
Author: Tor Lillqvist <tml at iki.fi>
Date:   Tue Feb 19 18:25:06 2013 +0200

    Surely we want closesocket() on Windows
    
    Change-Id: I13d5715248612c9b1b50314d72f5eca202debd04

diff --git a/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx b/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx
index 50ee736..0defa3c 100644
--- a/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx
+++ b/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx
@@ -63,7 +63,11 @@ void BufferedStreamSocket::close()
 {
     if( usingCSocket )
     {
+#ifdef WIN32
+        ::closesocket( mSocket );
+#else
         ::close( mSocket );
+#endif
         mSocket = -1;
     }
     else


More information about the Libreoffice-commits mailing list