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:
authorAlexander Vladishev <aleksander.vladishev@zabbix.com>2014-07-16 16:28:13 +0400
committerAlexander Vladishev <aleksander.vladishev@zabbix.com>2014-07-16 16:28:13 +0400
commite4692015cf70f17d82d6ec1b2284c539fc9e348e (patch)
treef689aa307622c1d13b7068bc91e4f66c41cf8d49 /include/module.h
parent30ea8044ae13b5aed4a1f652412698689f9680c9 (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.h2
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 */