projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix for #477: Notification time gone wrong
[collectd.git]
/
src
/
utils_cmd_putnotif.c
diff --git
a/src/utils_cmd_putnotif.c
b/src/utils_cmd_putnotif.c
index
5a9faff
..
7c96508
100644
(file)
--- a/
src/utils_cmd_putnotif.c
+++ b/
src/utils_cmd_putnotif.c
@@
-55,7
+55,7
@@
static int set_option_time (notification_t *n, const char *value)
if (tmp <= 0)
return (-1);
- n->time =
tmp
;
+ n->time =
TIME_T_TO_CDTIME_T (tmp)
;
return (0);
} /* int set_option_time */