GUACAMOLE-203: Change timer to timeout

This commit is contained in:
Nick Couchman 2017-06-14 13:00:30 -04:00
parent af4d762147
commit 8c24c77d55
2 changed files with 3 additions and 3 deletions

View File

@ -54,9 +54,9 @@
#define GUAC_SSH_DEFAULT_RECORDING_NAME "recording"
/**
* The default polling timer for SSH activity in milliseconds.
* The default polling timeout for SSH activity in milliseconds.
*/
#define GUAC_SSH_DEFAULT_POLL_TIMER 1000
#define GUAC_SSH_DEFAULT_POLL_TIMEOUT 1000
/**
* Settings for the SSH connection. The values for this structure are parsed

View File

@ -343,7 +343,7 @@ void* ssh_client_thread(void* data) {
}
/* If keepalive is not configured, sleep for the default of 1 second */
else
timer = GUAC_SSH_DEFAULT_POLL_TIMER;
timer = GUAC_SSH_DEFAULT_POLL_TIMEOUT;
/* Read terminal data */
bytes_read = libssh2_channel_read(ssh_client->term_channel,