[collectd] Strange Time value in notification test

George B. list1 at gir.me.uk
Thu Jun 19 00:58:14 CEST 2014


On 18/06/14 23:52, Manuel Luis Sanmartín Rozada wrote:
> In utils_time.h
>
> #define CDTIME_T_TO_TIME_T(t) ((time_t) ((t) / 1073741824))
>
> The problem is that when it parses the time in PUTNOTIF it's not converted from a timestamp to cdtime_t

LOL you beat me to the analysis by a few seconds!

> Fixed in https://github.com/collectd/collectd/pull/644

Thanks! :-)

Now just have to wait a few years before that fix makes it into Debian Stable... :-(


George



More information about the collectd mailing list