You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by jm...@apache.org on 2016/07/25 05:45:59 UTC
[2/4] incubator-guacamole-server git commit: GUACAMOLE-5: Handle
VNC's "read-only" parameter on a per-user basis.
GUACAMOLE-5: Handle VNC's "read-only" parameter on a per-user basis.
Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/commit/59e66ddc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/tree/59e66ddc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/diff/59e66ddc
Branch: refs/heads/master
Commit: 59e66ddc779eea1b2827dc89110561a3f58fb313
Parents: 0641ccf
Author: Michael Jumper <mj...@apache.org>
Authored: Sun Jul 24 21:38:53 2016 -0700
Committer: Michael Jumper <mj...@apache.org>
Committed: Sun Jul 24 22:36:25 2016 -0700
----------------------------------------------------------------------
src/protocols/vnc/user.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/blob/59e66ddc/src/protocols/vnc/user.c
----------------------------------------------------------------------
diff --git a/src/protocols/vnc/user.c b/src/protocols/vnc/user.c
index 75dff0d..e01ee75 100644
--- a/src/protocols/vnc/user.c
+++ b/src/protocols/vnc/user.c
@@ -85,7 +85,7 @@ int guac_vnc_user_join_handler(guac_user* user, int argc, char** argv) {
}
/* Only handle events if not read-only */
- if (vnc_client->settings->read_only == 0) {
+ if (!settings->read_only) {
/* General mouse/keyboard/clipboard events */
user->mouse_handler = guac_vnc_user_mouse_handler;