1
0
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:
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); 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;