Github user mike-jumper commented on a diff in the pull request:
https://github.com/apache/incubator-guacamole-server/pull/93#discussion_r119489905
--- Diff: src/protocols/ssh/ssh.c ---
@@ -318,11 +323,18 @@ void* ssh_client_thread(void* data) {
/* While data available, write to terminal */
int bytes_read = 0;
+ int timeout = 0;
--- End diff --
The scope of `timeout` can be tightened - there's no need to declare it
outside the only block which uses its value (the `if` block within the loop).
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---