mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Remove bogus use of volatile and add a note about using inet_ntop
instead.
This commit is contained in:
parent
69abb74075
commit
5f51da8c58
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user