Removed heartbeat code - doesn't make a difference, really

This commit is contained in:
Michael Jumper
2010-09-08 16:37:27 +00:00
parent 71aef3f181
commit a804c582f7
8 changed files with 7 additions and 106 deletions

View File

@@ -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;