1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Fixed bug #74400 (phpdbg comparing socket function to int)

This commit is contained in:
Joe Watkins
2017-04-10 08:05:31 +01:00
parent a93832f414
commit 60b68f19f0

View File

@@ -349,7 +349,7 @@ PHPDBG_API int phpdbg_create_listenable_socket(const char *addr, unsigned short
}
PHPDBG_API void phpdbg_close_socket(int sock) {
if (socket >= 0) {
if (sock >= 0) {
#ifdef _WIN32
closesocket(sock);
#else