projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ffac91
)
Re-implemented `curtime' again. The last revision removed it accidentally..
author
octo
<octo>
Tue, 21 Mar 2006 13:08:22 +0000
(13:08 +0000)
committer
octo
<octo>
Tue, 21 Mar 2006 13:08:22 +0000
(13:08 +0000)
src/collectd.c
patch
|
blob
|
history
diff --git
a/src/collectd.c
b/src/collectd.c
index
6513cd4
..
5a17124
100644
(file)
--- a/
src/collectd.c
+++ b/
src/collectd.c
@@
-191,6
+191,11
@@
static int start_client (void)
#if HAVE_LIBKSTAT
update_kstat ();
#endif
+ /* `curtime' is used by many (all?) plugins as the
+ * data-sample-time passed to RRDTool */
+ curtime = time (NULL);
+
+ /* Issue all plugins */
plugin_read_all ();
if (gettimeofday (&tv_now, NULL) < 0)