GUACAMOLE-203: if statement style tweak

This commit is contained in:
Nick Couchman 2017-06-14 08:27:09 -04:00
parent 03403e3ea5
commit 070bd25721

View File

@ -337,7 +337,7 @@ void* ssh_client_thread(void* data) {
/* Send keepalive at configured interval */ /* Send keepalive at configured interval */
if (settings->server_alive_interval > 0) { if (settings->server_alive_interval > 0) {
int timeout = 0; int timeout = 0;
if(libssh2_keepalive_send(ssh_client->session->session, &timeout) > 0) if (libssh2_keepalive_send(ssh_client->session->session, &timeout) > 0)
break; break;
timer = timeout * 1000; timer = timeout * 1000;
} }