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
No known key found for this signature in database
GPG key ID: F9BA0ADA31CBD89E

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