diff options
author | Alexander Vladishev <aleksander.vladishev@zabbix.com> | 2014-07-16 16:28:13 +0400 |
---|---|---|
committer | Alexander Vladishev <aleksander.vladishev@zabbix.com> | 2014-07-16 16:28:13 +0400 |
commit | e4692015cf70f17d82d6ec1b2284c539fc9e348e (patch) | |
tree | f689aa307622c1d13b7068bc91e4f66c41cf8d49 /include/module.h | |
parent | 30ea8044ae13b5aed4a1f652412698689f9680c9 (diff) |
.......PS. [ZBXNEXT-1848] zabbix[host,,maintenance] and zabbix[proxy,<name>,lastaccess] will be processed by server only
Diffstat (limited to 'include/module.h')
-rw-r--r-- | include/module.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/module.h b/include/module.h index 654c35cd556..f70fe5c2f81 100644 --- a/include/module.h +++ b/include/module.h @@ -27,7 +27,7 @@ #define ZBX_MODULE_API_VERSION_ONE 1 -#define get_rparam(request, num) (request->nparam > num ? request->params[num] : NULL) +#define get_rparam(request, num) ((request)->nparam > num ? (request)->params[num] : NULL) /* flags for command */ #define CF_HAVEPARAMS 0x01 /* item accepts either optional or mandatory parameters */ |