Kaydet (Commit) 6ced5dbd authored tarafından Michael Meeks's avatar Michael Meeks

Disable sdremote by default, and improve flow control.

It was intended to disable sdremote by default when it exited
experimental mode.

This reverts commit 576943b9.

Change-Id: I2c1b5443e334021bd9574316167f48b1af6200e5
üst 5b0e6aea
...@@ -619,7 +619,7 @@ ...@@ -619,7 +619,7 @@
<desc>Indicates whether to enable the Impress remote controller.</desc> <desc>Indicates whether to enable the Impress remote controller.</desc>
<label>Enable remote control</label> <label>Enable remote control</label>
</info> </info>
<value>true</value> <value>false</value>
</prop> </prop>
<prop oor:name="EnablePresenterScreen" oor:type="xs:boolean" oor:nillable="false"> <prop oor:name="EnablePresenterScreen" oor:type="xs:boolean" oor:nillable="false">
<info> <info>
......
...@@ -117,7 +117,11 @@ void RemoteServer::execute() ...@@ -117,7 +117,11 @@ void RemoteServer::execute()
{ {
OString aName( aLine ); OString aName( aLine );
if ( ! pSocket->readLine( aLine ) ) delete pSocket; if ( ! pSocket->readLine( aLine ) )
{
delete pSocket;
continue;
}
OString aPin( aLine ); OString aPin( aLine );
SocketAddr aClientAddr; SocketAddr aClientAddr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment