aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-01-15 23:12:09 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-01-15 23:22:53 +0000
commit9520c620495c4fb505ff1e0ed3d44d17ed754b6d (patch)
tree02e8120efa56311dbcfa0c6c80a8dd7bb71f157e
parentce82a1be0d17da2e25927f40500cf2d35d5f1776 (diff)
connect.c: Corrected version compare in commit c7a76bb056f31e
-rw-r--r--lib/connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connect.c b/lib/connect.c
index 16ad524df..06e756809 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -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;