Increased wait time for messages (as libguac now uses I/O threads)

This commit is contained in:
Michael Jumper 2011-03-17 14:05:24 -07:00
parent 7f106c663c
commit df7fa4c88d

View File

@ -251,8 +251,7 @@ int vnc_guac_client_handle_messages(guac_client* client) {
int wait_result; int wait_result;
rfbClient* rfb_client = ((vnc_guac_client_data*) client->data)->rfb_client; rfbClient* rfb_client = ((vnc_guac_client_data*) client->data)->rfb_client;
wait_result = WaitForMessage(rfb_client, 1000000);
wait_result = WaitForMessage(rfb_client, 2000);
if (wait_result < 0) { if (wait_result < 0) {
GUAC_LOG_ERROR("Error waiting for VNC server message\n"); GUAC_LOG_ERROR("Error waiting for VNC server message\n");
return 1; return 1;