Changeset 24414 in vbox for trunk/src/VBox/Additions/common/VBoxGuestLib
- Timestamp:
- Nov 5, 2009 9:02:59 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibHostVersion.cpp ¶
r24384 r24414 49 49 VBGLR3DECL(int) VbglR3HostVersionCompare(const char *pszVer1, const char *pszVer2) 50 50 { 51 /** @todo r=bird: not checking the return code, may be using uninitialized 52 * variables... I'll fix this when moving into the runtime. */ 51 53 int iVer1Major, iVer1Minor, iVer1Build; 52 54 sscanf(pszVer1, "%d.%d.%d", &iVer1Major, &iVer1Minor, &iVer1Build); … … 112 114 { 113 115 /* Only don't do the check if we have a valid "0" in it */ 114 if ( *pszCheckHostVersion 115 && RTStrToInt16(pszCheckHostVersion) == 0) /* Either string conversion failed or we really did disable it */ 116 if (!strcmp(pszCheckHostVersion, "0")); 116 117 { 117 118 LogRel(("No host version update check performed (disabled).\n"));
Note:
See TracChangeset
for help on using the changeset viewer.