mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -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);
|
osver.dwOSVersionInfoSize = sizeof(osver);
|
||||||
|
|
||||||
/* Find out the Windows version */
|
/* Find out the Windows version */
|
||||||
if(!GetVersionEx(&osver))
|
if(GetVersionEx(&osver)) {
|
||||||
return CURLE_FAILED_INIT;
|
/* Verify the version number is 5.0 */
|
||||||
|
if(osver.dwMajorVersion == 5 && osver.dwMinorVersion == 0)
|
||||||
/* Verify the version number is 5.0 */
|
isWin2k = TRUE;
|
||||||
if(osver.dwMajorVersion == 5 && osver.dwMinorVersion == 0)
|
}
|
||||||
isWin2k = TRUE;
|
|
||||||
#else
|
#else
|
||||||
ULONGLONG cm;
|
ULONGLONG cm;
|
||||||
OSVERSIONINFOEX osver;
|
OSVERSIONINFOEX osver;
|
||||||
|
Loading…
Reference in New Issue
Block a user