diff options
| -rw-r--r-- | ext/sockets/sockets.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c index 3c038aeef5..5bfea82651 100644 --- a/ext/sockets/sockets.c +++ b/ext/sockets/sockets.c @@ -164,8 +164,8 @@ zend_module_entry sockets_module_entry = { ZEND_GET_MODULE(sockets) #endif -/* this should be mutex'ed */ -volatile int inet_ntoa_lock = 0; +/* inet_ntop should be used instead of inet_ntoa */ +int inet_ntoa_lock = 0; static void destroy_fd_sets(zend_rsrc_list_entry *rsrc) { |
