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:47 UTC

[14/23] guacamole-server git commit: GUACAMOLE-269: Comment and spelling updates.

GUACAMOLE-269: Comment and spelling updates.


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

Branch: refs/heads/master
Commit: 86dde85b2d0f63268942a7a9ba01b6d2e3bfbb73
Parents: 45b832b
Author: Nick Couchman <vn...@apache.org>
Authored: Sat Mar 24 14:53:22 2018 -0400
Committer: Nick Couchman <vn...@apache.org>
Committed: Sat Mar 24 14:53:22 2018 -0400

----------------------------------------------------------------------
 src/protocols/ssh/ttymode.h     | 6 ++++--
 src/protocols/telnet/settings.c | 2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/86dde85b/src/protocols/ssh/ttymode.h
----------------------------------------------------------------------
diff --git a/src/protocols/ssh/ttymode.h b/src/protocols/ssh/ttymode.h
index be40b84..869d052 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, ...);

http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/86dde85b/src/protocols/telnet/settings.c
----------------------------------------------------------------------
diff --git a/src/protocols/telnet/settings.c b/src/protocols/telnet/settings.c
index b49b773..8f80291 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);