GUACAMOLE-422: Update to remove first argument

This commit is contained in:
Nick Couchman 2019-04-13 21:30:57 -04:00
parent 379fce2d77
commit 340aef5362
6 changed files with 5 additions and 29 deletions

View File

@ -287,8 +287,9 @@ int guac_user_handle_connection(guac_user* user, int usec_timeout) {
guac_protocol_send_ready(socket, client->connection_id); guac_protocol_send_ready(socket, client->connection_id);
guac_socket_flush(socket); guac_socket_flush(socket);
/* Attempt join */ /* Check return value from join attempt */
if (guac_client_add_user(client, user, parser->argc, parser->argv)) if (guac_client_add_user(client, user, (parser->argc - 1),
parser->argv + 1))
guac_client_log(client, GUAC_LOG_ERROR, "User \"%s\" could NOT " guac_client_log(client, GUAC_LOG_ERROR, "User \"%s\" could NOT "
"join connection \"%s\"", user->user_id, client->connection_id); "join connection \"%s\"", user->user_id, client->connection_id);

View File

@ -55,11 +55,6 @@ const char* GUAC_KUBERNETES_CLIENT_ARGS[] = {
enum KUBERNETES_ARGS_IDX { enum KUBERNETES_ARGS_IDX {
/**
* The protocol version provided to the client.
*/
IDX_PROTOCOL_VERSION,
/** /**
* The hostname to connect to. Required. * The hostname to connect to. Required.
*/ */

View File

@ -124,11 +124,6 @@ const char* GUAC_RDP_CLIENT_ARGS[] = {
enum RDP_ARGS_IDX { enum RDP_ARGS_IDX {
/**
* The protocol version sent to the client.
*/
IDX_PROTOCOL_VERSION,
/** /**
* The hostname to connect to. * The hostname to connect to.
*/ */

View File

@ -67,11 +67,6 @@ const char* GUAC_SSH_CLIENT_ARGS[] = {
enum SSH_ARGS_IDX { enum SSH_ARGS_IDX {
/**
* The protocol version
*/
IDX_PROTOCOL_VERSION,
/** /**
* The hostname to connect to. Required. * The hostname to connect to. Required.
*/ */

View File

@ -60,11 +60,6 @@ const char* GUAC_TELNET_CLIENT_ARGS[] = {
enum TELNET_ARGS_IDX { enum TELNET_ARGS_IDX {
/**
* The protocol version provided by the client.
*/
IDX_PROTOCOL_VERSION,
/** /**
* The hostname to connect to. Required. * The hostname to connect to. Required.
*/ */

View File

@ -83,11 +83,6 @@ const char* GUAC_VNC_CLIENT_ARGS[] = {
enum VNC_ARGS_IDX { enum VNC_ARGS_IDX {
/**
* The protocol version provided to the client.
*/
IDX_PROTOCOL_VERSION,
/** /**
* The hostname of the VNC server (or repeater) to connect to. * The hostname of the VNC server (or repeater) to connect to.
*/ */