mirror of
https://github.com/curl/curl.git
synced 2026-04-17 16:51:41 +03:00
connect.c: Corrected version compare in commit c7a76bb056
This commit is contained in:
parent
ce82a1be0d
commit
9520c62049
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue