projects
/
guacd.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
524139e
)
Migrated to namespaced RUNNING state.
author
Michael Jumper <zhangmaike@users.sourceforge.net>
Sun, 25 Dec 2011 06:51:31 +0000
(22:51 -0800)
committer
Michael Jumper <zhangmaike@users.sourceforge.net>
Sun, 25 Dec 2011 06:51:31 +0000
(22:51 -0800)
src/client.c
patch
|
blob
|
history
diff --git
a/src/client.c
b/src/client.c
index
bfdd600
..
2645980
100644
(file)
--- a/
src/client.c
+++ b/
src/client.c
@@
-70,7
+70,7
@@
void* __guacd_client_output_thread(void* data) {
guac_timestamp last_ping_timestamp = guac_protocol_get_timestamp();
/* Guacamole client output loop */
guac_timestamp last_ping_timestamp = guac_protocol_get_timestamp();
/* Guacamole client output loop */
- while (client->state == RUNNING) {
+ while (client->state == GUAC_CLIENT_RUNNING) {
/* Occasionally ping client with repeat of last sync */
guac_timestamp timestamp = guac_protocol_get_timestamp();
/* Occasionally ping client with repeat of last sync */
guac_timestamp timestamp = guac_protocol_get_timestamp();
@@
-154,7
+154,7
@@
void* __guacd_client_input_thread(void* data) {
guac_socket* socket = client->socket;
/* Guacamole client input loop */
guac_socket* socket = client->socket;
/* Guacamole client input loop */
- while (client->state == RUNNING) {
+ while (client->state == GUAC_CLIENT_RUNNING) {
/* Read instruction */
guac_instruction* instruction =
/* Read instruction */
guac_instruction* instruction =