*** empty log message ***

svn path=/trunk/boinc/; revision=3053
This commit is contained in:
Rom Walton 2004-03-10 00:55:28 +00:00
parent bbab33d6c1
commit 32d73bce48
2 changed files with 12 additions and 3 deletions

View File

@ -10421,3 +10421,9 @@ Rom Mar 9 2004
project.inc
html/user
info.php
Rom Mar 9 2004
- Windows Product SKU was being over-written if the person was running with Service Pack 6a.
client/win/
hostinfo_win.cpp

View File

@ -158,8 +158,7 @@ int get_host_info(HOST_INFO& host) {
// Display service pack (if any) and build number.
if( osvi.dwMajorVersion == 4 &&
lstrcmpi( osvi.szCSDVersion, "Service Pack 6" ) == 0 )
if( osvi.dwMajorVersion == 4 && lstrcmpi( osvi.szCSDVersion, "Service Pack 6" ) == 0 )
{
HKEY hKey;
LONG lRet;
@ -169,7 +168,11 @@ int get_host_info(HOST_INFO& host) {
"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Hotfix\\Q246009",
0, KEY_QUERY_VALUE, &hKey );
if( lRet == ERROR_SUCCESS )
sprintf( host.os_name, "Service Pack 6a (Build %d)", osvi.dwBuildNumber & 0xFFFF );
{
sprintf( host.os_name, "%sService Pack 6a (Build %d)",
host.os_name,
osvi.dwBuildNumber & 0xFFFF );
}
else // Windows NT 4.0 prior to SP6a
{
if ( strlen(osvi.szCSDVersion) > 0 )