GUACAMOLE-203: if statement style tweak
Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/commit/070bd257 Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/tree/070bd257 Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/diff/070bd257 Branch: refs/heads/master Commit: 070bd2572170f84c95d1c2801959a85e640dbfbe Parents: 03403e3 Author: Nick Couchman <vn...@apache.org> Authored: Wed Jun 14 08:27:09 2017 -0400 Committer: Nick Couchman <vn...@apache.org> Committed: Wed Jun 14 08:27:09 2017 -0400 ---------------------------------------------------------------------- src/protocols/ssh/ssh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/blob/070bd257/src/protocols/ssh/ssh.c ---------------------------------------------------------------------- diff --git a/src/protocols/ssh/ssh.c b/src/protocols/ssh/ssh.c index 86c1fdf..59039bb 100644 --- a/src/protocols/ssh/ssh.c +++ b/src/protocols/ssh/ssh.c @@ -337,7 +337,7 @@ void* ssh_client_thread(void* data) { /* Send keepalive at configured interval */ if (settings->server_alive_interval > 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; timer = timeout * 1000; }