From 86dde85b2d0f63268942a7a9ba01b6d2e3bfbb73 Mon Sep 17 00:00:00 2001 From: Nick Couchman Date: Sat, 24 Mar 2018 14:53:22 -0400 Subject: [PATCH] GUACAMOLE-269: Comment and spelling updates. --- src/protocols/ssh/ttymode.h | 6 ++++-- src/protocols/telnet/settings.c | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) 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);