freeipmi-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freeipmi-users] It looks like incorrect comment


From: Albert Chu
Subject: Re: [Freeipmi-users] It looks like incorrect comment
Date: Tue, 20 Mar 2018 10:36:19 -0700

Yup, that does sound like a cut & paste error.  I'll add an issue for
me to fix.

Thanks,

Al

On Tue, 2018-03-20 at 13:08 -0400, Aleksey Yakovlev wrote:
> A comment below in the "impi_monitoring.h" says:
> 
> ...
> /*
>  * ipmi_monitoring_sensor_iterator_next
>  *
>  * Advance iterator to the next set of sensors information
>  *
>  * Returns 0 on success, -1 on error
>  */
> int ipmi_monitoring_sensor_iterator_next (ipmi_monitoring_ctx_t c);
> ...
> 
> However I see different behavior - the function returns 1 if iterator
> has
> been advanced successfully, and it returns 0 in the end.
> 
> (Version 1.6.1)
> 
> Thank you,
> ~AY
> _______________________________________________
> Freeipmi-users mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/freeipmi-users
-- 
Albert Chu
address@hidden
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory




reply via email to

[Prev in Thread] Current Thread [Next in Thread]