On Thu, Jan 10, 2013 at 3:49 PM, Ales Ledvinka <aledv...@redhat.com> wrote: > In src/plugins/lanplus/lanplus.c the second if ends with ";" > Any idea if that is intentional to fail after the second get auth cap > regardless of return code? > > > * I'm not sure why we accept a failure for the first call > */ > if (ipmi_get_auth_capabilities_cmd(intf, &auth_cap)) { > sleep(1); > if (ipmi_get_auth_capabilities_cmd(intf, &auth_cap)); > { > > ---- > > > * ipmi_get_auth_capabilities_cmd > * > * This command may have to be sent twice. We first ask for the > * authentication capabilities with the "request IPMI v2 data bit" > * set. If this fails, we send the same command without that bit > * set. > >
I'd say it's a typo given the fact there is an error message and everything. Perhaps iceblink would know? Z. ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________ Ipmitool-devel mailing list Ipmitool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipmitool-devel