From 60b68f19f0618c884b9d97da79bd0b5c06c35072 Mon Sep 17 00:00:00 2001 From: Joe Watkins Date: Mon, 10 Apr 2017 08:05:31 +0100 Subject: Fixed bug #74400 (phpdbg comparing socket function to int) --- sapi/phpdbg/phpdbg_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sapi/phpdbg/phpdbg_io.c') diff --git a/sapi/phpdbg/phpdbg_io.c b/sapi/phpdbg/phpdbg_io.c index c68deef34d..05d423d6e1 100644 --- a/sapi/phpdbg/phpdbg_io.c +++ b/sapi/phpdbg/phpdbg_io.c @@ -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 -- cgit v1.2.1