Github user necouchman commented on a diff in the pull request:

    https://github.com/apache/guacamole-server/pull/156#discussion_r178542688
  
    --- Diff: src/protocols/ssh/ssh.c ---
    @@ -191,6 +192,10 @@ void* ssh_client_thread(void* data) {
             return NULL;
         }
     
    +    /* Initialize a ttymode array */
    +    const int num_tty_opcodes = 1;
    +    char ssh_ttymodes[(GUAC_SSH_TTY_OPCODE_SIZE * num_tty_opcodes) + 1];
    --- End diff --
    
    Brilliant. I've used your macro and refactored code and comments with that.


---

Reply via email to