[Libreoffice-commits] core.git: sd/source
Tor Lillqvist
tml at iki.fi
Wed Feb 27 03:52:06 PST 2013
sd/source/ui/remotecontrol/DiscoveryService.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 32cb84f3718e96658f24ffc67c2e56386bf3f25f
Author: Tor Lillqvist <tml at iki.fi>
Date: Wed Feb 27 13:51:45 2013 +0200
Use closesocket() on Windows
Change-Id: Ie6eca5f95aab326df41f3e7ee260b84bd1bf6afd
diff --git a/sd/source/ui/remotecontrol/DiscoveryService.cxx b/sd/source/ui/remotecontrol/DiscoveryService.cxx
index 2cfa262..a19cb32 100644
--- a/sd/source/ui/remotecontrol/DiscoveryService.cxx
+++ b/sd/source/ui/remotecontrol/DiscoveryService.cxx
@@ -76,7 +76,11 @@ DiscoveryService::DiscoveryService() :
DiscoveryService::~DiscoveryService()
{
+#ifdef WNT
+ closesocket( mSocket );
+#else
close( mSocket );
+#endif
}
void SAL_CALL DiscoveryService::run()
More information about the Libreoffice-commits
mailing list