We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fd8aae commit c0be847Copy full SHA for c0be847
1 file changed
main/php_network.h
@@ -272,7 +272,7 @@ typedef struct {
272
#define PHP_SOCKVAL_TCP_KEEPCNT (1 << 2)
273
#define PHP_SOCKVAL_TCP_KEEPINTVL (1 << 3)
274
275
-#define PHP_SOCKVAL_IS_SET(sockvals, opt) (sockvals->mask & opt)
+#define PHP_SOCKVAL_IS_SET(sockvals, opt) ((sockvals)->mask & (opt))
276
277
typedef struct {
278
unsigned int mask;
0 commit comments