[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Freeipmi-users] It looks like incorrect comment
From: |
Aleksey Yakovlev |
Subject: |
[Freeipmi-users] It looks like incorrect comment |
Date: |
Tue, 20 Mar 2018 13:08:51 -0400 |
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] It looks like incorrect comment,
Aleksey Yakovlev <=