diff --git a/client/hostinfo_win.cpp b/client/hostinfo_win.cpp index 1bd7551b3d..48ed20cbf6 100644 --- a/client/hostinfo_win.cpp +++ b/client/hostinfo_win.cpp @@ -885,9 +885,9 @@ int get_os_information( if ( lstrcmpi( "WINNT", szProductType) == 0 ) { safe_strcpy( szSKU, "Workstation Edition" ); - } if ( lstrcmpi( "LANMANNT", szProductType) == 0 ) { + } else if ( lstrcmpi( "LANMANNT", szProductType) == 0 ) { safe_strcpy( szSKU, "Server Edition" ); - } if ( lstrcmpi( "SERVERNT", szProductType) == 0 ) { + } else if ( lstrcmpi( "SERVERNT", szProductType) == 0 ) { safe_strcpy( szSKU, "Advanced Server Edition" ); }