Commits
7455
7455
}
7456
7456
else
7457
7457
{
7458
7458
cqv->response = zbx_strdup(NULL, "only scalar values can be returned.");
7459
7459
cqv->status = ZBX_VMWARE_CQV_ERROR;
7460
7460
}
7461
7461
7462
7462
zabbix_log(LOG_LEVEL_DEBUG, "%s() %s id:%s key:%s response length:%d node type:%d", fn_parent,
7463
7463
ZBX_VMWARE_CQV_ERROR == cqv->status ? "FAIL" : "SUCCEED", cqv->instance->id,
7464
7464
cqv->instance->key, NULL == cqv->response ? -1 : (int)strlen(cqv->response),
7465
-
NULL != node && NULL != node->xmlChildrenNode ? node->xmlChildrenNode->type : -1);
7465
+
NULL != node && NULL != node->xmlChildrenNode ? (int)node->xmlChildrenNode->type : -1);
7466
7466
}
7467
7467
7468
7468
/******************************************************************************
7469
7469
* *
7470
7470
* Purpose: load vmware object property info from VC *
7471
7471
* *
7472
7472
* Parameters: easyhandle - [IN] the CURL handle *
7473
7473
* cq_values - [IN/OUT] the vector with custom query entries *
7474
7474
* and responses *
7475
7475
* *