diff --git a/src/protocols/vnc/client.c b/src/protocols/vnc/client.c index 2aa29fd3..990c09f0 100644 --- a/src/protocols/vnc/client.c +++ b/src/protocols/vnc/client.c @@ -225,12 +225,16 @@ static rfbClient* __guac_vnc_get_client(guac_client* client) { * Configure the VNC clipboard reader/writer based on configured encoding. * Defaults to standard ISO8859-1 encoding if an invalid format is encountered. * - * @param guac_client_data Structure containing VNC client configuration. - * @param name Encoding name. - * @return Returns 0 if standard ISO8859-1 encoding is used, 1 otherwise. + * @param guac_client_data + * Structure containing VNC client configuration. + * + * @param name + * Encoding name. + * + * @return + * Returns 0 if standard ISO8859-1 encoding is used, 1 otherwise. */ -int __guac_client_configure_clipboard_encoding(vnc_guac_client_data* guac_client_data, - const char* name) { +int __guac_client_configure_clipboard_encoding(vnc_guac_client_data* guac_client_data, const char* name) { /* Configure clipboard reader/writer based on encoding name */ if (strcmp(name, "UTF-8") == 0) { diff --git a/src/protocols/vnc/client.h b/src/protocols/vnc/client.h index feb181be..ccbac69e 100644 --- a/src/protocols/vnc/client.h +++ b/src/protocols/vnc/client.h @@ -211,9 +211,13 @@ typedef struct vnc_guac_client_data { #endif /** - * Clipboard encoding specific reader and writer. + * Clipboard encoding-specific reader. */ guac_iconv_read* clipboard_reader; + + /** + * Clipboard encoding-specific writer. + */ guac_iconv_write* clipboard_writer; } vnc_guac_client_data;