diff --git a/src/protocols/ssh/ttymode.h b/src/protocols/ssh/ttymode.h index be40b84c..869d0523 100644 --- a/src/protocols/ssh/ttymode.h +++ b/src/protocols/ssh/ttymode.h @@ -56,7 +56,8 @@ typedef struct guac_ssh_ttymode { /** * Initialize an array with the specified opcode/value - * pairs, and return the size, in bytes, of the array. + * pairs, returning 0 if successful, or a non-zero value + * if a failure occurs. * * @param opcode_array * Pointer to the opcode array. @@ -72,7 +73,8 @@ typedef struct guac_ssh_ttymode { * to place in the array. * * @return - * The size, in bytes, of the array. + * Zero of the function is successful, non-zero + * if a failure occurs. */ int guac_ssh_ttymodes_init(char opcode_array[], const int array_size, const int num_opcodes, ...); diff --git a/src/protocols/telnet/settings.c b/src/protocols/telnet/settings.c index b49b773e..8f802915 100644 --- a/src/protocols/telnet/settings.c +++ b/src/protocols/telnet/settings.c @@ -335,7 +335,7 @@ guac_telnet_settings* guac_telnet_parse_args(guac_user* user, guac_user_parse_args_boolean(user, GUAC_TELNET_CLIENT_ARGS, argv, IDX_CREATE_RECORDING_PATH, false); - /* Parse backspae key code */ + /* Parse backspace key code */ settings->backspace = guac_user_parse_args_int(user, GUAC_TELNET_CLIENT_ARGS, argv, IDX_BACKSPACE, 127);