Changeset 49950 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Dec 17, 2013 10:51:16 AM (11 years ago)
- Location:
- trunk/src/VBox/Additions/common
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxControl/VBoxControl.cpp
r48938 r49950 1177 1177 1178 1178 rc = VbglR3GuestPropConnect(&u32ClientId); 1179 if ( !RT_SUCCESS(rc))1179 if (RT_FAILURE(rc)) 1180 1180 VBoxControlError("Failed to connect to the guest property service, error %Rrc\n", rc); 1181 1181 … … 1221 1221 if (VERR_TOO_MUCH_DATA == rc) 1222 1222 VBoxControlError("Temporarily unable to retrieve the property\n"); 1223 else if ( !RT_SUCCESS(rc) && (rc != VERR_NOT_FOUND))1223 else if (RT_FAILURE(rc) && rc != VERR_NOT_FOUND) 1224 1224 VBoxControlError("Failed to retrieve the property value, error %Rrc\n", rc); 1225 1225 } … … 1294 1294 int rc = VINF_SUCCESS; 1295 1295 rc = VbglR3GuestPropConnect(&u32ClientId); 1296 if ( !RT_SUCCESS(rc))1296 if (RT_FAILURE(rc)) 1297 1297 VBoxControlError("Failed to connect to the guest property service, error %Rrc\n", rc); 1298 if (RT_SUCCESS(rc))1298 else 1299 1299 { 1300 1300 if (pszFlags != NULL) … … 1302 1302 else 1303 1303 rc = VbglR3GuestPropWriteValue(u32ClientId, pszName, pszValue); 1304 if ( !RT_SUCCESS(rc))1304 if (RT_FAILURE(rc)) 1305 1305 VBoxControlError("Failed to store the property value, error %Rrc\n", rc); 1306 1306 } … … 1342 1342 uint32_t u32ClientId = 0; 1343 1343 int rc = VbglR3GuestPropConnect(&u32ClientId); 1344 if ( !RT_SUCCESS(rc))1344 if (RT_FAILURE(rc)) 1345 1345 VBoxControlError("Failed to connect to the guest property service, error %Rrc\n", rc); 1346 if (RT_SUCCESS(rc))1346 else 1347 1347 { 1348 1348 rc = VbglR3GuestPropDelete(u32ClientId, pszName); 1349 if ( !RT_SUCCESS(rc))1349 if (RT_FAILURE(rc)) 1350 1350 VBoxControlError("Failed to delete the property value, error %Rrc\n", rc); 1351 1351 } … … 1485 1485 1486 1486 rc = VbglR3GuestPropConnect(&u32ClientId); 1487 if ( !RT_SUCCESS(rc))1487 if (RT_FAILURE(rc)) 1488 1488 VBoxControlError("Failed to connect to the guest property service, error %Rrc\n", rc); 1489 1489 … … 1532 1532 VBoxControlError("The request timed out or was interrupted\n"); 1533 1533 #ifndef RT_OS_WINDOWS /* Windows guests do not do this right */ 1534 else if ( !RT_SUCCESS(rc) && (rc != VERR_NOT_FOUND))1534 else if (RT_FAILURE(rc) && rc != VERR_NOT_FOUND) 1535 1535 VBoxControlError("Failed to get a notification, error %Rrc\n", rc); 1536 1536 #endif … … 1616 1616 uint32_t u32ClientId; 1617 1617 int rc = VbglR3SharedFolderConnect(&u32ClientId); 1618 if ( !RT_SUCCESS(rc))1618 if (RT_FAILURE(rc)) 1619 1619 VBoxControlError("Failed to connect to the shared folder service, error %Rrc\n", rc); 1620 1620 else -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp
r49946 r49950 2646 2646 2647 2647 int rc = VBoxGuestSetGuestCapabilities(fSessionOrCaps, fSessionNotCaps); 2648 if ( !RT_FAILURE(rc))2648 if (RT_FAILURE(rc)) 2649 2649 { 2650 2650 LogRel(("VBoxGuestCommonGuestCapsAcquire: VBoxGuestSetGuestCapabilities failed, rc=%Rrc\n", rc)); -
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibGuestProp.cpp
r44324 r49950 559 559 { 560 560 int rc2 = VbglHGCMParmUInt32Get(&Msg.size, pcbBufActual); 561 if ( !RT_SUCCESS(rc2))561 if (RT_FAILURE(rc2)) 562 562 rc = rc2; 563 563 } … … 842 842 { 843 843 rc = VbglR3GuestPropWriteValue(u32ClientId, pszName, NULL); 844 if ( !RT_SUCCESS(rc))844 if (RT_FAILURE(rc)) 845 845 break; 846 846
Note:
See TracChangeset
for help on using the changeset viewer.