diff options
Diffstat (limited to 'src/zabbix_server/service/service_manager.c')
-rw-r--r-- | src/zabbix_server/service/service_manager.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zabbix_server/service/service_manager.c b/src/zabbix_server/service/service_manager.c index 1176eb38b01..37fce7b163c 100644 --- a/src/zabbix_server/service/service_manager.c +++ b/src/zabbix_server/service/service_manager.c @@ -968,14 +968,14 @@ static void update_action_formula(zbx_service_action_t *action) zabbix_log(LOG_LEVEL_DEBUG, "In %s() actionid:" ZBX_FS_UI64, __func__, action->actionid); - if (0 == action->conditions.values_num || ZBX_ACTION_CONDITION_EVAL_TYPE_EXPRESSION == action->evaltype) + if (0 == action->conditions.values_num || ZBX_CONDITION_EVAL_TYPE_EXPRESSION == action->evaltype) goto out; for (i = 0; i < action->conditions.values_num; i++) { condition = (zbx_service_action_condition_t *)action->conditions.values[i]; - if (ZBX_ACTION_CONDITION_EVAL_TYPE_AND_OR == action->evaltype) + if (ZBX_CONDITION_EVAL_TYPE_AND_OR == action->evaltype) { if (last_type != condition->conditiontype) { @@ -1002,7 +1002,7 @@ static void update_action_formula(zbx_service_action_t *action) last_type = condition->conditiontype; } - if (ZBX_ACTION_CONDITION_EVAL_TYPE_AND_OR == action->evaltype) + if (ZBX_CONDITION_EVAL_TYPE_AND_OR == action->evaltype) zbx_chrcpy_alloc(&formula, &formula_alloc, &formula_offset, ')'); zbx_free(action->formula); |