summaryrefslogtreecommitdiff
path: root/Zend/zend_portability.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-11-14 10:20:03 +0100
committerAnatol Belski <ab@php.net>2014-11-14 17:39:39 +0100
commitb7eee5bfaf12588d9b3558c82f35ea9d14791a02 (patch)
treefc48e3c0813d1e9e382089527a1173dd513b7b31 /Zend/zend_portability.h
parent8434a7f2abb6ee5be0a4b38c1a7add6cdc21a426 (diff)
downloadphp-git-b7eee5bfaf12588d9b3558c82f35ea9d14791a02.tar.gz
added comment
Diffstat (limited to 'Zend/zend_portability.h')
-rw-r--r--Zend/zend_portability.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_portability.h b/Zend/zend_portability.h
index f056b16338..73a4f3b962 100644
--- a/Zend/zend_portability.h
+++ b/Zend/zend_portability.h
@@ -394,6 +394,7 @@ char *alloca();
#define ZEND_SECURE_ZERO(var, size) memset((var), 0, (size))
#endif
+/* This check should only be used on network socket, not file descriptors */
#ifdef ZEND_WIN32
#define ZEND_VALID_SOCKET(sock) (INVALID_SOCKET != (sock))
#else