GUACAMOLE-203: if statement style tweak
This commit is contained in:
parent
03403e3ea5
commit
070bd25721
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user