diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/connect.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/connect.c b/lib/connect.c index dcfb4b469..9431a9720 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -949,12 +949,13 @@ void Curl_sndbufset(curl_socket_t sockfd) static int detectOsState = DETECT_OS_NONE; - if(detectOsState == DETECT_OS_NONE) + if(detectOsState == DETECT_OS_NONE) { if(Curl_verify_windows_version(6, 0, PLATFORM_WINNT, VERSION_GREATER_THAN_EQUAL)) detectOsState = DETECT_OS_VISTA_OR_LATER; else detectOsState = DETECT_OS_PREVISTA; + } if(detectOsState == DETECT_OS_VISTA_OR_LATER) return; |