]> granicus.if.org Git - php/commitdiff
Remove this check as discussed with Anatol
authorKalle Sommer Nielsen <kalle@php.net>
Sat, 5 Nov 2016 22:08:08 +0000 (23:08 +0100)
committerKalle Sommer Nielsen <kalle@php.net>
Sat, 5 Nov 2016 22:08:08 +0000 (23:08 +0100)
main/main.c

index 3f20556518d3d9098e5ae1f9bfcc17e5ec44f2cd..49a68bd887a693935d0b3986af4e8aa3819695b1 100644 (file)
@@ -2136,11 +2136,6 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod
                php_printf("\nwinsock.dll unusable. %d\n", WSAGetLastError());
                return FAILURE;
        }
-       /* Check that we actually got the requested WSA version */
-       if (LOBYTE(wsaData.wVersion) != 2 || HIBYTE(wsaData.wVersion) != 0) {
-               php_printf("\nwinsock.dll unusable. Requested version: %d.%d, got %d.%d", LOBYTE(wVersionRequested), HIBYTE(wVersionRequested), LOBYTE(wsaData.wVersion), HIBYTE(wsaData.wVersion));
-               return FAILURE;
-       }
 #endif
 
        le_index_ptr = zend_register_list_destructors_ex(NULL, NULL, "index pointer", 0);