Index: /trunk/src/VBox/Additions/common/VBoxControl/VBoxControl.cpp
===================================================================
--- /trunk/src/VBox/Additions/common/VBoxControl/VBoxControl.cpp	(revision 49949)
+++ /trunk/src/VBox/Additions/common/VBoxControl/VBoxControl.cpp	(revision 49950)
@@ -1177,5 +1177,5 @@
 
     rc = VbglR3GuestPropConnect(&u32ClientId);
-    if (!RT_SUCCESS(rc))
+    if (RT_FAILURE(rc))
         VBoxControlError("Failed to connect to the guest property service, error %Rrc\n", rc);
 
@@ -1221,5 +1221,5 @@
         if (VERR_TOO_MUCH_DATA == rc)
             VBoxControlError("Temporarily unable to retrieve the property\n");
-        else if (!RT_SUCCESS(rc) && (rc != VERR_NOT_FOUND))
+        else if (RT_FAILURE(rc) && rc != VERR_NOT_FOUND)
             VBoxControlError("Failed to retrieve the property value, error %Rrc\n", rc);
     }
@@ -1294,7 +1294,7 @@
     int rc = VINF_SUCCESS;
     rc = VbglR3GuestPropConnect(&u32ClientId);
-    if (!RT_SUCCESS(rc))
+    if (RT_FAILURE(rc))
         VBoxControlError("Failed to connect to the guest property service, error %Rrc\n", rc);
-    if (RT_SUCCESS(rc))
+    else
     {
         if (pszFlags != NULL)
@@ -1302,5 +1302,5 @@
         else
             rc = VbglR3GuestPropWriteValue(u32ClientId, pszName, pszValue);
-        if (!RT_SUCCESS(rc))
+        if (RT_FAILURE(rc))
             VBoxControlError("Failed to store the property value, error %Rrc\n", rc);
     }
@@ -1342,10 +1342,10 @@
     uint32_t u32ClientId = 0;
     int rc = VbglR3GuestPropConnect(&u32ClientId);
-    if (!RT_SUCCESS(rc))
+    if (RT_FAILURE(rc))
         VBoxControlError("Failed to connect to the guest property service, error %Rrc\n", rc);
-    if (RT_SUCCESS(rc))
+    else
     {
         rc = VbglR3GuestPropDelete(u32ClientId, pszName);
-        if (!RT_SUCCESS(rc))
+        if (RT_FAILURE(rc))
             VBoxControlError("Failed to delete the property value, error %Rrc\n", rc);
     }
@@ -1485,5 +1485,5 @@
 
     rc = VbglR3GuestPropConnect(&u32ClientId);
-    if (!RT_SUCCESS(rc))
+    if (RT_FAILURE(rc))
         VBoxControlError("Failed to connect to the guest property service, error %Rrc\n", rc);
 
@@ -1532,5 +1532,5 @@
             VBoxControlError("The request timed out or was interrupted\n");
 #ifndef RT_OS_WINDOWS  /* Windows guests do not do this right */
-        else if (!RT_SUCCESS(rc) && (rc != VERR_NOT_FOUND))
+        else if (RT_FAILURE(rc) && rc != VERR_NOT_FOUND)
             VBoxControlError("Failed to get a notification, error %Rrc\n", rc);
 #endif
@@ -1616,5 +1616,5 @@
     uint32_t u32ClientId;
     int rc = VbglR3SharedFolderConnect(&u32ClientId);
-    if (!RT_SUCCESS(rc))
+    if (RT_FAILURE(rc))
         VBoxControlError("Failed to connect to the shared folder service, error %Rrc\n", rc);
     else
Index: /trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp
===================================================================
--- /trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp	(revision 49949)
+++ /trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp	(revision 49950)
@@ -2646,5 +2646,5 @@
 
     int rc = VBoxGuestSetGuestCapabilities(fSessionOrCaps, fSessionNotCaps);
-    if (!RT_FAILURE(rc))
+    if (RT_FAILURE(rc))
     {
         LogRel(("VBoxGuestCommonGuestCapsAcquire: VBoxGuestSetGuestCapabilities failed, rc=%Rrc\n", rc));
Index: /trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibGuestProp.cpp
===================================================================
--- /trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibGuestProp.cpp	(revision 49949)
+++ /trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibGuestProp.cpp	(revision 49950)
@@ -559,5 +559,5 @@
     {
         int rc2 = VbglHGCMParmUInt32Get(&Msg.size, pcbBufActual);
-        if (!RT_SUCCESS(rc2))
+        if (RT_FAILURE(rc2))
             rc = rc2;
     }
@@ -842,5 +842,5 @@
     {
         rc = VbglR3GuestPropWriteValue(u32ClientId, pszName, NULL);
-        if (!RT_SUCCESS(rc))
+        if (RT_FAILURE(rc))
             break;
 
