disconnect instruction

This commit is contained in:
Michael Jumper
2010-09-17 22:26:28 -07:00
parent 60d78e22c7
commit 0fa7530fd5
2 changed files with 5 additions and 10 deletions

View File

@@ -167,6 +167,10 @@ void guac_start_client(guac_client* client) {
);
}
else if (strcmp(instruction.opcode, "disconnect") == 0) {
return;
}
} while ((retval = guac_read_instruction(io, &instruction)) > 0);
if (retval < 0)