Changeset 23143 in vbox for trunk/src/VBox
- Timestamp:
- Sep 18, 2009 4:05:46 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxHostVersion.cpp
r23115 r23143 65 65 { 66 66 if (rc == VERR_NOT_FOUND) 67 rc = V ERR_NOT_SUPPORTED; /* If we don't find the value above this is not critical*/67 rc = VINF_SUCCESS; /* If we don't find the value above we do the check by default */ 68 68 else 69 69 Log(("VBoxTray: Could not read check host version flag! rc = %d\n", rc)); … … 71 71 else 72 72 { 73 if (pszCheckHostVersion && atoi(pszCheckHostVersion) <= 0) 73 /* Only don't do the check if we have a valid "0" in it */ 74 if ( atoi(pszCheckHostVersion) == 0 75 && strlen(pszCheckHostVersion)) 76 { 74 77 rc = VERR_NOT_SUPPORTED; 78 } 75 79 VbglR3GuestPropReadValueFree(pszCheckHostVersion); 76 80 }
Note:
See TracChangeset
for help on using the changeset viewer.