1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Prevent possible future precedence issues in PHP_SOCKVAL_IS_SET

This commit is contained in:
Jakub Zelenka
2025-12-30 18:56:57 +01:00
parent 0fd8aae6e8
commit c0be847a7e

View File

@@ -272,7 +272,7 @@ typedef struct {
#define PHP_SOCKVAL_TCP_KEEPCNT (1 << 2)
#define PHP_SOCKVAL_TCP_KEEPINTVL (1 << 3)
#define PHP_SOCKVAL_IS_SET(sockvals, opt) (sockvals->mask & opt)
#define PHP_SOCKVAL_IS_SET(sockvals, opt) ((sockvals)->mask & (opt))
typedef struct {
unsigned int mask;