From 98cb7ccf6773f9e55645ccfe542de31ab2bc136c Mon Sep 17 00:00:00 2001 From: Nick Couchman Date: Wed, 17 Apr 2019 15:12:46 -0400 Subject: [PATCH] GUACAMOLE-422: Fix comment and style. --- src/libguac/user-handshake.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/libguac/user-handshake.c b/src/libguac/user-handshake.c index 8c1fd89b..ed30c63a 100644 --- a/src/libguac/user-handshake.c +++ b/src/libguac/user-handshake.c @@ -291,9 +291,8 @@ int guac_user_handle_connection(guac_user* user, int usec_timeout) { guac_protocol_send_ready(socket, client->connection_id); guac_socket_flush(socket); - /* Check return value from join attempt */ - if (guac_client_add_user(client, user, (parser->argc - 1), - parser->argv + 1)) + /* Attempt to join user to connection. */ + 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);