sd/source/ui/remotecontrol/BufferedStreamSocket.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit bf3577466669bee218b59b08d4e3e467f89c27ff Author: Tor Lillqvist <t...@iki.fi> Date: Tue Feb 19 18:25:06 2013 +0200 Surely we want closesocket() on Windows (cherry picked from commit 49db90342f193f31500b2717cc27bdf2f25e2d95) Change-Id: I13d5715248612c9b1b50314d72f5eca202debd04 Reviewed-on: https://gerrit.libreoffice.org/2262 Reviewed-by: Petr Mladek <pmla...@suse.cz> Tested-by: Petr Mladek <pmla...@suse.cz> diff --git a/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx b/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx index 71fec17..e2c7a4a 100644 --- a/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx +++ b/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx @@ -59,7 +59,11 @@ void BufferedStreamSocket::close() { if( usingCSocket ) { +#ifdef WIN32 + ::closesocket( mSocket ); +#else ::close( mSocket ); +#endif mSocket = -1; } else _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits