guacamole-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmuehl...@apache.org
Subject [2/4] incubator-guacamole-server git commit: GUACAMOLE-5: Handle VNC's "read-only" parameter on a per-user basis.
Date Mon, 25 Jul 2016 05:45:59 GMT
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 <mjumper@apache.org>
Authored: Sun Jul 24 21:38:53 2016 -0700
Committer: Michael Jumper <mjumper@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;


Mime
View raw message