mirror of
https://github.com/curl/curl.git
synced 2026-07-23 01:27:16 +03:00
schannel: Corrected copy/paste error in commit 8d17117683
This commit is contained in:
parent
8d17117683
commit
c2f1730e17
1 changed files with 5 additions and 6 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue