From 2139d40e97d30031044c73f5285648ffc5df4c6f Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Thu, 9 Jan 2020 13:00:56 -0800 Subject: [PATCH] GUACAMOLE-249: Remove accidental double spaces from RDP comments. --- src/protocols/rdp/channels/audio-input.h | 2 +- src/protocols/rdp/channels/rdpdr/rdpdr-fs.h | 2 +- src/protocols/rdp/channels/rdpdr/rdpdr.h | 4 ++-- src/protocols/rdp/fs.h | 2 +- src/protocols/rdp/gdi.h | 2 +- src/protocols/rdp/keyboard.h | 4 ++-- src/protocols/rdp/settings.c | 10 +++++----- src/protocols/rdp/settings.h | 8 ++++---- 8 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/protocols/rdp/channels/audio-input.h b/src/protocols/rdp/channels/audio-input.h index 366500ac..1ff76d58 100644 --- a/src/protocols/rdp/channels/audio-input.h +++ b/src/protocols/rdp/channels/audio-input.h @@ -293,7 +293,7 @@ guac_user_end_handler guac_rdp_audio_end_handler; * Adds Guacamole's "guacai" plugin to the list of dynamic virtual channel * plugins to be loaded by FreeRDP's "drdynvc" plugin. The plugin will only * be loaded once the "drdynvc" plugin is loaded. The "guacai" plugin - * ultimately adds support for the "AUDIO_INPUT" dynamic virtual channel. + * ultimately adds support for the "AUDIO_INPUT" dynamic virtual channel. * * @param context * The rdpContext associated with the active RDP session. diff --git a/src/protocols/rdp/channels/rdpdr/rdpdr-fs.h b/src/protocols/rdp/channels/rdpdr/rdpdr-fs.h index 129fb267..ae90045f 100644 --- a/src/protocols/rdp/channels/rdpdr/rdpdr-fs.h +++ b/src/protocols/rdp/channels/rdpdr/rdpdr-fs.h @@ -22,7 +22,7 @@ /** * Functions and macros specific to filesystem handling and initialization - * independent of RDP. The functions here may deal with the RDPDR device + * independent of RDP. The functions here may deal with the RDPDR device * directly, but their semantics must not deal with RDP protocol messaging. * Functions here represent a virtual Windows-style filesystem on top of UNIX * system calls and structures, using the guac_rdpdr_device structure as a home diff --git a/src/protocols/rdp/channels/rdpdr/rdpdr.h b/src/protocols/rdp/channels/rdpdr/rdpdr.h index 105b50aa..a5f5798d 100644 --- a/src/protocols/rdp/channels/rdpdr/rdpdr.h +++ b/src/protocols/rdp/channels/rdpdr/rdpdr.h @@ -135,7 +135,7 @@ struct guac_rdpdr_device { uint32_t device_type; /** - * The DOS name of the device. Max 8 bytes, including terminator. + * The DOS name of the device. Max 8 bytes, including terminator. */ const char *dos_name; @@ -216,7 +216,7 @@ wStream* guac_rdpdr_new_io_completion(guac_rdpdr_device* device, /** * Initializes device redirection support (file transfer, printing, etc.) for - * RDP and handling of the RDPDR channel. If failures occur, messages noting + * RDP and handling of the RDPDR channel. If failures occur, messages noting * the specifics of those failures will be logged, and the RDP side of * device redirection support will not be functional. * diff --git a/src/protocols/rdp/fs.h b/src/protocols/rdp/fs.h index 56c134f0..04f76b8e 100644 --- a/src/protocols/rdp/fs.h +++ b/src/protocols/rdp/fs.h @@ -22,7 +22,7 @@ /** * Functions and macros specific to filesystem handling and initialization - * independent of RDP. The functions here may deal with the filesystem device + * independent of RDP. The functions here may deal with the filesystem device * directly, but their semantics must not deal with RDP protocol messaging. * Functions here represent a virtual Windows-style filesystem on top of UNIX * system calls and structures, using the guac_rdp_fs structure as a home diff --git a/src/protocols/rdp/gdi.h b/src/protocols/rdp/gdi.h index fa09c87f..9ad5713c 100644 --- a/src/protocols/rdp/gdi.h +++ b/src/protocols/rdp/gdi.h @@ -65,7 +65,7 @@ BOOL guac_rdp_gdi_dstblt(rdpContext* context, const DSTBLT_ORDER* dstblt); /** * Handler for the ScrBlt Primary Drawing Order. A ScrBlt Primary Drawing Order * paints a rectangle of image data using a raster operation which considers - * the source and destination. See: + * the source and destination. See: * * https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-rdpegdi/a4e322b0-cd64-4dfc-8e1a-f24dc0edc99d * diff --git a/src/protocols/rdp/keyboard.h b/src/protocols/rdp/keyboard.h index 19f46d2b..6296a71d 100644 --- a/src/protocols/rdp/keyboard.h +++ b/src/protocols/rdp/keyboard.h @@ -94,7 +94,7 @@ typedef struct guac_rdp_keyboard { /** * The local state of all keys, as well as the necessary information to - * translate received keysyms into scancodes or sequences of scancodes for + * translate received keysyms into scancodes or sequences of scancodes for * RDP. The state of each key is updated based on received Guacamole key * events, while the information describing the behavior and scancode * mapping of each key is populated based on an associated keymap. @@ -180,7 +180,7 @@ int guac_rdp_keyboard_send_event(guac_rdp_keyboard* keyboard, /** * For every keysym in the given NULL-terminated array of keysyms, send the RDP * key events required to update the remote state of those keys as specified, - * depending on the current local state of those keysyms. For each key in the + * depending on the current local state of those keysyms. For each key in the * "from" state, that key will be updated to the "to" state. The locally-stored * state of each key is remains untouched. * diff --git a/src/protocols/rdp/settings.c b/src/protocols/rdp/settings.c index a2cc7dfa..bac74ff1 100644 --- a/src/protocols/rdp/settings.c +++ b/src/protocols/rdp/settings.c @@ -309,7 +309,7 @@ enum RDP_ARGS_IDX { /** * "true" if desktop composition (Aero) should be enabled during the - * session, "false" or blank otherwise. As desktop composition provides + * session, "false" or blank otherwise. As desktop composition provides * alpha blending and other special effects, this increases the amount of * bandwidth used. */ @@ -354,7 +354,7 @@ enum RDP_ARGS_IDX { /** * The timezone to pass through to the RDP connection, in IANA format, which - * will be translated into Windows formats. See the following page for + * will be translated into Windows formats. See the following page for * information and list of valid values: * https://en.wikipedia.org/wiki/List_of_tz_database_time_zones */ @@ -374,7 +374,7 @@ enum RDP_ARGS_IDX { IDX_SFTP_HOSTNAME, /** - * The public SSH host key of the SFTP server. Optional. + * The public SSH host key of the SFTP server. Optional. */ IDX_SFTP_HOST_KEY, @@ -423,7 +423,7 @@ enum RDP_ARGS_IDX { /** * The interval at which SSH keepalive messages are sent to the server for - * SFTP connections. The default is 0 (disabling keepalives), and a value + * SFTP connections. The default is 0 (disabling keepalives), and a value * of 1 is automatically increased to 2 by libssh2 to avoid busy loop corner * cases. */ @@ -461,7 +461,7 @@ enum RDP_ARGS_IDX { /** * Whether keys pressed and released should be included in the session * recording. Key events are NOT included by default within the recording, - * as doing so has privacy and security implications. Including key events + * as doing so has privacy and security implications. Including key events * may be necessary in certain auditing contexts, but should only be done * with caution. Key events can easily contain sensitive information, such * as passwords, credit card numbers, etc. diff --git a/src/protocols/rdp/settings.h b/src/protocols/rdp/settings.h index 0935f843..2e0dd3bd 100644 --- a/src/protocols/rdp/settings.h +++ b/src/protocols/rdp/settings.h @@ -325,19 +325,19 @@ typedef struct guac_rdp_settings { int menu_animations_enabled; /** - * Whether bitmap caching should be disabled. By default it is + * Whether bitmap caching should be disabled. By default it is * enabled - this allows users to explicitly disable it. */ int disable_bitmap_caching; /** - * Whether offscreen caching should be disabled. By default it is + * Whether offscreen caching should be disabled. By default it is * enabled - this allows users to explicitly disable it. */ int disable_offscreen_caching; /** - * Whether glyph caching should be disabled. By default it is enabled + * Whether glyph caching should be disabled. By default it is enabled * - this allows users to explicitly disable it. */ int disable_glyph_caching; @@ -421,7 +421,7 @@ typedef struct guac_rdp_settings { /** * The interval at which SSH keepalive messages are sent to the server for - * SFTP connections. The default is 0 (disabling keepalives), and a value + * SFTP connections. The default is 0 (disabling keepalives), and a value * of 1 is automatically increased to 2 by libssh2 to avoid busy loop corner * cases. */