summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2d118cc)
raw | patch | inline | side by side (parent: 2d118cc)
author | Adrian Miron <adrian.miron.v2@gmail.com> | |
Sat, 8 Mar 2014 16:56:11 +0000 (18:56 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Mon, 31 Mar 2014 20:59:03 +0000 (22:59 +0200) |
Sub-second time handling was added in collectd 5.0.0. This adds support
for this to the target_notification plugin, which got missed out at the
time.
for this to the target_notification plugin, which got missed out at the
time.
src/utils_cmd_putnotif.c | patch | blob | history |
index 5a9faff2321e315188e370c7b5508fb17a108576..7c965084318750244091c75c317a01c6271ad2bd 100644 (file)
--- a/src/utils_cmd_putnotif.c
+++ b/src/utils_cmd_putnotif.c
if (tmp <= 0)
return (-1);
- n->time = tmp;
+ n->time = TIME_T_TO_CDTIME_T (tmp);
return (0);
} /* int set_option_time */