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);