diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2014-10-07 10:10:27 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2014-10-07 10:31:06 +0100 |
commit | 6ced5dbd1a4603b0f9c63e79d9da8b30c76b3805 (patch) | |
tree | 7ebe7f9f0dd90b87676a2cb22001a46a6865241e /sd/source | |
parent | 5b0e6aea60ece93d72f4d256817da67df7150519 (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
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/remotecontrol/Server.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sd/source/ui/remotecontrol/Server.cxx b/sd/source/ui/remotecontrol/Server.cxx index 5ec118400d2c..7404bbddcfbf 100644 --- a/sd/source/ui/remotecontrol/Server.cxx +++ b/sd/source/ui/remotecontrol/Server.cxx @@ -117,7 +117,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; |