GUACAMOLE-422: Update to remove first argument
This commit is contained in:
parent
379fce2d77
commit
340aef5362
@ -287,8 +287,9 @@ int guac_user_handle_connection(guac_user* user, int usec_timeout) {
|
||||
guac_protocol_send_ready(socket, client->connection_id);
|
||||
guac_socket_flush(socket);
|
||||
|
||||
/* Attempt join */
|
||||
if (guac_client_add_user(client, user, parser->argc, parser->argv))
|
||||
/* Check return value from join attempt */
|
||||
if (guac_client_add_user(client, user, (parser->argc - 1),
|
||||
parser->argv + 1))
|
||||
guac_client_log(client, GUAC_LOG_ERROR, "User \"%s\" could NOT "
|
||||
"join connection \"%s\"", user->user_id, client->connection_id);
|
||||
|
||||
|
@ -55,11 +55,6 @@ const char* GUAC_KUBERNETES_CLIENT_ARGS[] = {
|
||||
|
||||
enum KUBERNETES_ARGS_IDX {
|
||||
|
||||
/**
|
||||
* The protocol version provided to the client.
|
||||
*/
|
||||
IDX_PROTOCOL_VERSION,
|
||||
|
||||
/**
|
||||
* The hostname to connect to. Required.
|
||||
*/
|
||||
|
@ -124,11 +124,6 @@ const char* GUAC_RDP_CLIENT_ARGS[] = {
|
||||
|
||||
enum RDP_ARGS_IDX {
|
||||
|
||||
/**
|
||||
* The protocol version sent to the client.
|
||||
*/
|
||||
IDX_PROTOCOL_VERSION,
|
||||
|
||||
/**
|
||||
* The hostname to connect to.
|
||||
*/
|
||||
|
@ -67,11 +67,6 @@ const char* GUAC_SSH_CLIENT_ARGS[] = {
|
||||
|
||||
enum SSH_ARGS_IDX {
|
||||
|
||||
/**
|
||||
* The protocol version
|
||||
*/
|
||||
IDX_PROTOCOL_VERSION,
|
||||
|
||||
/**
|
||||
* The hostname to connect to. Required.
|
||||
*/
|
||||
|
@ -60,11 +60,6 @@ const char* GUAC_TELNET_CLIENT_ARGS[] = {
|
||||
|
||||
enum TELNET_ARGS_IDX {
|
||||
|
||||
/**
|
||||
* The protocol version provided by the client.
|
||||
*/
|
||||
IDX_PROTOCOL_VERSION,
|
||||
|
||||
/**
|
||||
* The hostname to connect to. Required.
|
||||
*/
|
||||
|
@ -83,11 +83,6 @@ const char* GUAC_VNC_CLIENT_ARGS[] = {
|
||||
|
||||
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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user