Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViktors Tjarve <viktors.tjarve@zabbix.com>2019-04-08 13:58:06 +0300
committerViktors Tjarve <viktors.tjarve@zabbix.com>2019-04-08 13:58:06 +0300
commitff955667ba1a3e5a11cbc4c18b0270e05ce956c3 (patch)
tree328b404b6ed87c9617074fc79f6a2afcd96c318c /include/log.h
parent7e87fa1074cb11dcb94ad4fe6b246692a070b78d (diff)
...G...PS. [ZBX-10889] fixed use of parentheses inside macro body
[merge ^/branches/4.2 -c r92232]
Diffstat (limited to 'include/log.h')
-rw-r--r--include/log.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/log.h b/include/log.h
index 18e58b0a961..2f6bd5a773a 100644
--- a/include/log.h
+++ b/include/log.h
@@ -42,8 +42,8 @@
extern int zbx_log_level;
#define ZBX_CHECK_LOG_LEVEL(level) \
- ((LOG_LEVEL_INFORMATION != level && \
- (level > zbx_log_level || LOG_LEVEL_EMPTY == level)) ? FAIL : SUCCEED)
+ ((LOG_LEVEL_INFORMATION != (level) && \
+ ((level) > zbx_log_level || LOG_LEVEL_EMPTY == (level))) ? FAIL : SUCCEED)
typedef enum
{