connect.c: Corrected version compare in commit c7a76bb056

This commit is contained in:
Steve Holme 2014-01-15 23:12:09 +00:00
parent ce82a1be0d
commit 9520c62049

View File

@ -939,7 +939,7 @@ void Curl_sndbufset(curl_socket_t sockfd)
memset(&osver, 0, sizeof(osver));
osver.dwOSVersionInfoSize = sizeof(osver);
osver.dwMajorVersion = majorVersion;
majorVersionMask = VerSetConditionMask(0, VER_MAJORVERSION, VER_EQUAL);
majorVersionMask = VerSetConditionMask(0, VER_MAJORVERSION, VER_GREATER_EQUAL);
if(VerifyVersionInfo(&osver, VER_MAJORVERSION, majorVersionMask))
detectOsState = DETECT_OS_VISTA_OR_LATER;