]> granicus.if.org Git - php/commitdiff
Remove bogus use of volatile and add a note about using inet_ntop
authorSascha Schumann <sas@php.net>
Sun, 24 Jun 2001 21:16:21 +0000 (21:16 +0000)
committerSascha Schumann <sas@php.net>
Sun, 24 Jun 2001 21:16:21 +0000 (21:16 +0000)
instead.

ext/sockets/sockets.c

index 3c038aeef58af031a09c00fdf92cc6a46430ac4c..5bfea8265125d624b091d5f1c489b19ed7489b88 100644 (file)
@@ -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)
 {