Removed heartbeat code - doesn't make a difference, really
This commit is contained in:
1 parent
71aef3f181
commit
a804c582f7
8 files changed
+7
-106
No files matched your search
@@ -85,6 +85,12 @@ void guac_start_client(guac_client* client) {
|
||||
/* VNC Client Loop */
|
||||
for (;;) {
|
||||
|
||||
/* Handle server messages */
|
||||
if (client->handle_messages) {
|
||||
client->handle_messages(client);
|
||||
guac_flush(client->io);
|
||||
}
|
||||
|
||||
wait_result = guac_instructions_waiting(io);
|
||||
if (wait_result > 0) {
|
||||
|
||||
@@ -125,12 +131,6 @@ void guac_start_client(guac_client* client) {
|
||||
|
||||
/* Otherwise, retval == 0 implies unfinished instruction */
|
||||
|
||||
/* Handle server messages */
|
||||
if (client->handle_messages) {
|
||||
client->handle_messages(client);
|
||||
guac_flush(client->io);
|
||||
}
|
||||
|
||||
}
|
||||
else if (wait_result < 0)
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user