necouchman commented on a change in pull request #346:
URL: https://github.com/apache/guacamole-server/pull/346#discussion_r706208344
##########
File path: src/protocols/ssh/ssh.c
##########
@@ -438,8 +438,10 @@ void* ssh_client_thread(void* data) {
/* Send keepalive at configured interval */
if (settings->server_alive_interval > 0) {
timeout = 0;
- if (libssh2_keepalive_send(ssh_client->session->session, &timeout)
> 0)
+ if (libssh2_keepalive_send(ssh_client->session->session, &timeout)
> 0) {
+ pthread_mutex_unlock(&(ssh_client->term_channel_lock));
break;
+ }
Review comment:
This is almost lined up, but not quite. Sorry for the #nitpick, but we'd
like the style consistent :-).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]