summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2014-10-07 10:10:27 +0100
committerAndras Timar <andras.timar@collabora.com>2014-10-14 15:28:00 +0200
commit7bd74f1de47b513fa5b63fab2aafc3f54d9fd25b (patch)
tree4a210d8b7c713cc7dfd9b2cc52fa16c7e4636381 /sd
parentbb14fae5b1d581236a9d396224598d03162394a0 (diff)
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;