diff --git a/src/protocols/ssh/settings.h b/src/protocols/ssh/settings.h index 101caf70..ea9f5ace 100644 --- a/src/protocols/ssh/settings.h +++ b/src/protocols/ssh/settings.h @@ -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 diff --git a/src/protocols/ssh/ssh.c b/src/protocols/ssh/ssh.c index 59039bb6..afbfe331 100644 --- a/src/protocols/ssh/ssh.c +++ b/src/protocols/ssh/ssh.c @@ -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,