summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2014-10-07 10:10:27 +0100
committerJan Holesovsky <kendy@collabora.com>2014-10-07 09:35:56 +0000
commit3d0cffab8d06a0f8af6c0ed7a95728203080a7c5 (patch)
tree308c9f8c2475ec5127b790e4eacae4ea881513e0 /sd
parentInput fields are always editable... (diff)
downloadcore-3d0cffab8d06a0f8af6c0ed7a95728203080a7c5.tar.gz
core-3d0cffab8d06a0f8af6c0ed7a95728203080a7c5.zip
Disable sdremote by default, and improve flow control.
It was intended to disable sdremote by default when it exited experimental mode. This reverts commit 576943b9bf7506829de97d2194c4bee35a485436. Change-Id: I2c1b5443e334021bd9574316167f48b1af6200e5 Reviewed-on: https://gerrit.libreoffice.org/11838 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/remotecontrol/Server.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sd/source/ui/remotecontrol/Server.cxx b/sd/source/ui/remotecontrol/Server.cxx
index 25045b2ccb78..3a7a1587cb5d 100644
--- a/sd/source/ui/remotecontrol/Server.cxx
+++ b/sd/source/ui/remotecontrol/Server.cxx
@@ -116,7 +116,11 @@ void RemoteServer::execute()
{
OString aName( aLine );
- if ( ! pSocket->readLine( aLine ) ) delete pSocket;
+ if ( ! pSocket->readLine( aLine ) )
+ {
+ delete pSocket;
+ continue;
+ }
OString aPin( aLine );
SocketAddr aClientAddr;