mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
Removed heartbeat code - doesn't make a difference, really
This commit is contained in:
@@ -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