1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

schannel: Corrected copy/paste error in commit 8d17117683

This commit is contained in:
Steve Holme 2015-11-21 02:54:44 +00:00
parent 8d17117683
commit c2f1730e17

View File

@ -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;