From: Kalle Sommer Nielsen Date: Sat, 5 Nov 2016 22:08:08 +0000 (+0100) Subject: Remove this check as discussed with Anatol X-Git-Tag: php-7.2.0alpha1~979 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2de9c42f97388073b998871bcb40e14862fe42cc;p=php Remove this check as discussed with Anatol --- diff --git a/main/main.c b/main/main.c index 3f20556518..49a68bd887 100644 --- a/main/main.c +++ b/main/main.c @@ -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);