Bug Tracker item #3158501, was opened at 2011-01-14 22:54
Message generated for change (Settings changed) made by atkac
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126848&aid=3158501&group_id=254363

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Jochen Tucht (jtuc)
Assigned to: Adam Tkac (atkac)
Summary: operator usage - logical NOT used where bitwise NOT intended

Initial Comment:
--- common/rfb/VNCSConnectionST.cxx     (working base)
+++ common/rfb/VNCSConnectionST.cxx     (working copy)
@@ -805,10 +805,10 @@
     accessRights = accessRights | AccessPtrEvents | AccessKeyEvents | 
AccessView;
     break;
   case 1:
-    accessRights = accessRights & !(AccessPtrEvents | AccessKeyEvents) | 
AccessView;
+    accessRights = accessRights & ~(AccessPtrEvents | AccessKeyEvents) | 
AccessView;
     break;
   case 2:
-    accessRights = accessRights & !(AccessPtrEvents | AccessKeyEvents | 
AccessView);
+    accessRights = accessRights & ~(AccessPtrEvents | AccessKeyEvents | 
AccessView);
     break;
   }
   framebufferUpdateRequest(server->pb->getRect(), false);


----------------------------------------------------------------------

>Comment By: Adam Tkac (atkac)
Date: 2011-02-07 12:34

Message:
Thank you for the report & patch, fixed in r4257.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126848&aid=3158501&group_id=254363

------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to