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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user