mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-07-03 03:03:34 +00:00
Replace whitespace indentations with tabs in 'lib/helper.c'.
This commit is contained in:
@ -123,7 +123,7 @@ const char * val2str(uint16_t val, const struct valstr *vs)
|
|||||||
|
|
||||||
return un_str;
|
return un_str;
|
||||||
}
|
}
|
||||||
|
|
||||||
const char * oemval2str(uint32_t oem, uint16_t val,
|
const char * oemval2str(uint32_t oem, uint16_t val,
|
||||||
const struct oemvalstr *vs)
|
const struct oemvalstr *vs)
|
||||||
{
|
{
|
||||||
@ -131,20 +131,11 @@ const char * oemval2str(uint32_t oem, uint16_t val,
|
|||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0; vs[i].oem != 0xffffff && vs[i].str != NULL; i++) {
|
for (i = 0; vs[i].oem != 0xffffff && vs[i].str != NULL; i++) {
|
||||||
/* FIXME: for now on we assume PICMG capability on all IANAs */
|
/* FIXME: for now on we assume PICMG capability on all IANAs */
|
||||||
if
|
if ( (vs[i].oem == oem || vs[i].oem == IPMI_OEM_PICMG) &&
|
||||||
(
|
vs[i].val == val ) {
|
||||||
(
|
return vs[i].str;
|
||||||
vs[i].oem == oem
|
}
|
||||||
||
|
|
||||||
vs[i].oem == IPMI_OEM_PICMG
|
|
||||||
)
|
|
||||||
&&
|
|
||||||
vs[i].val == val
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return vs[i].str;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
memset(un_str, 0, 32);
|
memset(un_str, 0, 32);
|
||||||
|
Reference in New Issue
Block a user