connect.c: Corrected version compare in commit c7a76bb056
This commit is contained in:
parent
ce82a1be0d
commit
9520c62049
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user