From: Sascha Schumann Date: Sun, 24 Jun 2001 21:16:21 +0000 (+0000) Subject: Remove bogus use of volatile and add a note about using inet_ntop X-Git-Tag: PRE_TSRM_MERGE_PATCH~354 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5f51da8c58f02ecd39362f94dfeef925926b3998;p=php Remove bogus use of volatile and add a note about using inet_ntop instead. --- 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) {