mirror of
https://github.com/moparisthebest/curl
synced 2024-11-11 12:05:06 -05:00
schannel: Corrected copy/paste error in commit 8d17117683
This commit is contained in:
parent
8d17117683
commit
c2f1730e17
@ -1130,12 +1130,11 @@ cleanup:
|
||||
osver.dwOSVersionInfoSize = sizeof(osver);
|
||||
|
||||
/* Find out the Windows version */
|
||||
if(!GetVersionEx(&osver))
|
||||
return CURLE_FAILED_INIT;
|
||||
|
||||
/* Verify the version number is 5.0 */
|
||||
if(osver.dwMajorVersion == 5 && osver.dwMinorVersion == 0)
|
||||
isWin2k = TRUE;
|
||||
if(GetVersionEx(&osver)) {
|
||||
/* Verify the version number is 5.0 */
|
||||
if(osver.dwMajorVersion == 5 && osver.dwMinorVersion == 0)
|
||||
isWin2k = TRUE;
|
||||
}
|
||||
#else
|
||||
ULONGLONG cm;
|
||||
OSVERSIONINFOEX osver;
|
||||
|
Loading…
Reference in New Issue
Block a user