com php-src: Remove this check as discussed with Anatol: main/main.c
| From: | Kalle Sommer Nielsen | Date: | Sat, 05 Nov 2016 22:08:08 +0000 |
| Subject: | com php-src: Remove this check as discussed with Anatol: main/main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95409@lists.php.net to get a copy of this message | ||
Commit: 2de9c42f97388073b998871bcb40e14862fe42cc
Author: Kalle Sommer Nielsen <kalle@php.net> Sat, 5 Nov 2016 23:08:08 +0100
Parents: ad02235e9f289b76668738d7260cf7684318d647
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2de9c42f97388073b998871bcb40e14862fe42cc
Log:
Remove this check as discussed with Anatol
Changed paths:
M main/main.c
Diff:
diff --git a/main/main.c b/main/main.c
index 3f20556..49a68bd 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);