diff options
author | Sascha Schumann <sas@php.net> | 2001-06-24 21:16:21 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2001-06-24 21:16:21 +0000 |
commit | 5f51da8c58f02ecd39362f94dfeef925926b3998 (patch) | |
tree | b685dd4acc64669b4b8c3be74154244738c5c5e2 /ext/sockets | |
parent | 69abb74075d23f57aaa2aaf9dd13861ef2cf1490 (diff) | |
download | php-git-5f51da8c58f02ecd39362f94dfeef925926b3998.tar.gz |
Remove bogus use of volatile and add a note about using inet_ntop
instead.
Diffstat (limited to 'ext/sockets')
-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) { |