Changeset 25005 in vbox for trunk/src/VBox/Additions/common/VBoxGuestLib
- Timestamp:
- Nov 26, 2009 2:42:59 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibHostVersion.cpp
r24898 r25005 133 133 if (RT_SUCCESS(rc) && *pfUpdate) 134 134 { 135 uint8_t u8Res; 136 rc = RTStrVersionCompare(*ppszHostVersion, *ppszGuestVersion, &u8Res); 137 if (RT_FAILURE(rc)) 138 LogFlow(("Error while comparing host versions! %s <-> %s, rc = %Rrc\n", 139 *ppszHostVersion, *ppszGuestVersion, rc)); 140 141 if (u8Res == 1) /* Is host version greater than guest add version? */ 135 if (RTStrVersionCompare(*ppszHostVersion, *ppszGuestVersion) == 1) /* Is host version greater than guest add version? */ 142 136 { 143 137 /* Yay, we have an update! */
Note:
See TracChangeset
for help on using the changeset viewer.