GUACAMOLE-269: Comment and spelling updates.

This commit is contained in:
Nick Couchman 2018-03-24 14:53:22 -04:00
parent 45b832bfdc
commit 86dde85b2d
2 changed files with 5 additions and 3 deletions

View File

@ -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, ...);

View File

@ -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);