
# HG changeset patch # User Heidi Eckhart <heidieck@linux.vnet.ibm.com> # Date 1202203758 -3600 # Node ID 083ff6db76d5b5efd04d094bc4f9736b1c11c50c # Parent bd791ff33ba623d1355ca26b3876df0b32ad2d4b HostSystem: fix style issue with parameter naming renamed getInstance to is_get_inst for style conformance Signed-off-by: Heidi Eckhart <heidieck@linux.vnet.ibm.com> diff -r bd791ff33ba6 -r 083ff6db76d5 src/Virt_HostSystem.c --- a/src/Virt_HostSystem.c Tue Feb 05 10:22:53 2008 +0100 +++ b/src/Virt_HostSystem.c Tue Feb 05 10:29:18 2008 +0100 @@ -107,7 +107,7 @@ static CMPIStatus return_host_cs(const C static CMPIStatus return_host_cs(const CMPIObjectPath *reference, const CMPIResult *results, bool name_only, - bool getInstance) + bool is_get_inst) { CMPIStatus s = {CMPI_RC_OK, NULL}; CMPIInstance *instance; @@ -117,14 +117,14 @@ static CMPIStatus return_host_cs(const C goto out; if (instance == NULL) { - if (getInstance) + if (is_get_inst) cu_statusf(_BROKER, &s, CMPI_RC_ERR_NOT_FOUND, "No such instance"); goto out; } - if (getInstance) { + if (is_get_inst) { s = cu_validate_ref(_BROKER, reference, instance); if (s.rc != CMPI_RC_OK) goto out;