projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix: use DOUBLE_TO_CDTIME_T() to match input type
[collectd.git]
/
src
/
utils_cmd_putnotif.c
diff --git
a/src/utils_cmd_putnotif.c
b/src/utils_cmd_putnotif.c
index
cba08bf
..
d3cf383
100644
(file)
--- a/
src/utils_cmd_putnotif.c
+++ b/
src/utils_cmd_putnotif.c
@@
-60,7
+60,7
@@
static int set_option_time (notification_t *n, const char *value)
|| (*endptr != 0)) /* Trailing chars */
return (-1);
- n->time =
TIME_T
_TO_CDTIME_T (tmp);
+ n->time =
DOUBLE
_TO_CDTIME_T (tmp);
return (0);
} /* int set_option_time */