mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fixed bug #74400 (phpdbg comparing socket function to int)
This commit is contained in:
parent
a93832f414
commit
60b68f19f0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue