From bb40822d34f3ac1130b71469b0bac396588a1ae9 Mon Sep 17 00:00:00 2001 From: Zdenek Styblik Date: Sat, 21 Jan 2012 08:31:09 +0000 Subject: [PATCH] Replace whitespace indentations with tabs in 'lib/helper.c'. --- ipmitool/lib/helper.c | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/ipmitool/lib/helper.c b/ipmitool/lib/helper.c index 4884d0f..2f68102 100644 --- a/ipmitool/lib/helper.c +++ b/ipmitool/lib/helper.c @@ -123,7 +123,7 @@ const char * val2str(uint16_t val, const struct valstr *vs) return un_str; } - + const char * oemval2str(uint32_t oem, uint16_t val, const struct oemvalstr *vs) { @@ -131,20 +131,11 @@ const char * oemval2str(uint32_t oem, uint16_t val, int i; for (i = 0; vs[i].oem != 0xffffff && vs[i].str != NULL; i++) { - /* FIXME: for now on we assume PICMG capability on all IANAs */ - if - ( - ( - vs[i].oem == oem - || - vs[i].oem == IPMI_OEM_PICMG - ) - && - vs[i].val == val - ) - { - return vs[i].str; - } + /* FIXME: for now on we assume PICMG capability on all IANAs */ + if ( (vs[i].oem == oem || vs[i].oem == IPMI_OEM_PICMG) && + vs[i].val == val ) { + return vs[i].str; + } } memset(un_str, 0, 32);