You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by mj...@apache.org on 2018/04/02 19:20:55 UTC

[22/23] guacamole-server git commit: GUACAMOLE-269: Don't abort on ttymode issue, just log a warning.

GUACAMOLE-269: Don't abort on ttymode issue, just log a warning.


Project: http://git-wip-us.apache.org/repos/asf/guacamole-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/guacamole-server/commit/dc1918b2
Tree: http://git-wip-us.apache.org/repos/asf/guacamole-server/tree/dc1918b2
Diff: http://git-wip-us.apache.org/repos/asf/guacamole-server/diff/dc1918b2

Branch: refs/heads/master
Commit: dc1918b2176a90ce10a6e15584f8462c6a042ba7
Parents: 7453bc8
Author: Nick Couchman <vn...@apache.org>
Authored: Mon Apr 2 15:05:56 2018 -0400
Committer: Nick Couchman <vn...@apache.org>
Committed: Mon Apr 2 15:05:56 2018 -0400

----------------------------------------------------------------------
 src/protocols/ssh/ssh.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/dc1918b2/src/protocols/ssh/ssh.c
----------------------------------------------------------------------
diff --git a/src/protocols/ssh/ssh.c b/src/protocols/ssh/ssh.c
index 1a7e6ef..7c76037 100644
--- a/src/protocols/ssh/ssh.c
+++ b/src/protocols/ssh/ssh.c
@@ -303,7 +303,7 @@ void* ssh_client_thread(void* data) {
     int ttymodeBytes = guac_ssh_ttymodes_init(ssh_ttymodes,
             GUAC_SSH_TTY_OP_VERASE, settings->backspace, GUAC_SSH_TTY_OP_END);
     if (ttymodeBytes < 1)
-        guac_client_abort(client, GUAC_PROTOCOL_STATUS_SERVER_ERROR, "Unable to set TTY modes."
+        guac_client_log(client, GUAC_LOG_WARNING, "Unable to set TTY modes."
                 "  Backspace may not work as expected.");
 
     /* Request PTY */