projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1483d2
)
Revert "Plugin exec: change notification time to integer."
author
Florian Forster
<octo@collectd.org>
Thu, 26 Feb 2015 08:04:37 +0000
(09:04 +0100)
committer
Florian Forster
<octo@collectd.org>
Thu, 26 Feb 2015 08:04:37 +0000
(09:04 +0100)
This was working as intended.
This reverts commit
07e4683f7f985668641d79137b64d148bc18ba8a
.
src/exec.c
patch
|
blob
|
history
diff --git
a/src/exec.c
b/src/exec.c
index
b9a7365
..
cfd82a3
100644
(file)
--- a/
src/exec.c
+++ b/
src/exec.c
@@
-744,8
+744,8
@@
static void *exec_notification_one (void *arg) /* {{{ */
fprintf (fh,
"Severity: %s\n"
- "Time: %
u
\n",
- severity,
(unsigned int)CDTIME_T_TO_TIME_T
(n->time));
+ "Time: %
.3f
\n",
+ severity,
CDTIME_T_TO_DOUBLE
(n->time));
/* Print the optional fields */
if (strlen (n->host) > 0)