projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Let plugin_dispatch_values() set value_list.time in case of 'now'.
[collectd.git]
/
src
/
perl.c
diff --git
a/src/perl.c
b/src/perl.c
index
4a76c0a
..
b5965d6
100644
(file)
--- a/
src/perl.c
+++ b/
src/perl.c
@@
-640,9
+640,6
@@
static int pplugin_dispatch_values (pTHX_ HV *values)
if (NULL != (tmp = hv_fetch (values, "time", 4, 0))) {
list.time = (time_t)SvIV (*tmp);
}
- else {
- list.time = time (NULL);
- }
if (NULL != (tmp = hv_fetch (values, "host", 4, 0))) {
sstrncpy (list.host, SvPV_nolen (*tmp), sizeof (list.host));