On Fri, Mar 22, 2013 at 2:42 PM, Corey Minyard <[email protected]> wrote:
> The event data and SDRs support assertions and deassertions for
> threshold events as well as
> discrete events. So print out assertion and deassertion on all events.
>
Corey,
is it possible to change coding style to ``if (...) { ... } else { ...
}''? I know you're keeping up with original version, no blame
intended.
Thanks,
Z.
> Index: lib/ipmi_sel.c
> ===================================================================
> RCS file: /cvsroot/ipmitool/ipmitool/lib/ipmi_sel.c,v
> retrieving revision 1.90
> diff -u -r1.90 ipmi_sel.c
> --- lib/ipmi_sel.c 16 Jan 2013 12:27:29 -0000 1.90
> +++ lib/ipmi_sel.c 22 Mar 2013 13:33:41 -0000
> @@ -1709,17 +1709,15 @@
> free(description);
> }
>
> - if (evt->sel_type.standard_type.event_type == 0x6f) {
> - if (csv_output)
> - printf(",");
> - else
> - printf(" | ");
> + if (csv_output)
> + printf(",");
> + else
> + printf(" | ");
>
> - if (evt->sel_type.standard_type.event_dir)
> - printf("Deasserted");
> - else
> - printf("Asserted");
> - }
> + if (evt->sel_type.standard_type.event_dir)
> + printf("Deasserted");
> + else
> + printf("Asserted");
>
> if (sdr != NULL && evt->sel_type.standard_type.event_type == 1) {
> /*
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> Ipmitool-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ipmitool-devel
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Ipmitool-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel