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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user