summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2047b2b)
raw | patch | inline | side by side (parent: 2047b2b)
author | Florian Forster <octo@huhu.verplant.org> | |
Sat, 30 Oct 2010 12:03:02 +0000 (14:03 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Sat, 30 Oct 2010 12:03:02 +0000 (14:03 +0200) |
vl.time is initialized to zero instead and the current time is filled in
by dispatch_values().
by dispatch_values().
src/curl.c | patch | blob | history | |
src/memcachec.c | patch | blob | history | |
src/memcached.c | patch | blob | history | |
src/ted.c | patch | blob | history |
diff --git a/src/curl.c b/src/curl.c
index a533e147b1b6e2af1dcf00ff7634667b20bf4784..8b95c80febb279a1c6f2e0579787274bb113967f 100644 (file)
--- a/src/curl.c
+++ b/src/curl.c
vl.values = values;
vl.values_len = 1;
- vl.time = time (NULL);
sstrncpy (vl.host, hostname_g, sizeof (vl.host));
sstrncpy (vl.plugin, "curl", sizeof (vl.plugin));
sstrncpy (vl.plugin_instance, wp->instance, sizeof (vl.plugin_instance));
@@ -596,7 +595,6 @@ static void cc_submit_response_time (const web_page_t *wp, double seconds) /* {{
vl.values = values;
vl.values_len = 1;
- vl.time = time (NULL);
sstrncpy (vl.host, hostname_g, sizeof (vl.host));
sstrncpy (vl.plugin, "curl", sizeof (vl.plugin));
sstrncpy (vl.plugin_instance, wp->instance, sizeof (vl.plugin_instance));
diff --git a/src/memcachec.c b/src/memcachec.c
index d066501cdcba73afb56363dae167b9dd78353e10..8f51e22f01dd3c2d728d0cbc0a8e2cc61fba99e1 100644 (file)
--- a/src/memcachec.c
+++ b/src/memcachec.c
vl.values = values;
vl.values_len = 1;
- vl.time = time (NULL);
sstrncpy (vl.host, hostname_g, sizeof (vl.host));
sstrncpy (vl.plugin, "memcachec", sizeof (vl.plugin));
sstrncpy (vl.plugin_instance, wp->instance, sizeof (vl.plugin_instance));
diff --git a/src/memcached.c b/src/memcached.c
index 348591fd160b79c0f64308732698e79ec9ab4789..8490bf661b358d793a0701c779ad2758587b2df7 100644 (file)
--- a/src/memcached.c
+++ b/src/memcached.c
vl.values = values;
vl.values_len = 2;
- vl.time = time (NULL);
sstrncpy (vl.host, hostname_g, sizeof (vl.host));
sstrncpy (vl.plugin, "memcached", sizeof (vl.plugin));
sstrncpy (vl.type, type, sizeof (vl.type));
vl.values = values;
vl.values_len = 1;
- vl.time = time (NULL);
sstrncpy (vl.host, hostname_g, sizeof (vl.host));
sstrncpy (vl.plugin, "memcached", sizeof (vl.plugin));
sstrncpy (vl.type, type, sizeof (vl.type));
vl.values = values;
vl.values_len = 2;
- vl.time = time (NULL);
sstrncpy (vl.host, hostname_g, sizeof (vl.host));
sstrncpy (vl.plugin, "memcached", sizeof (vl.plugin));
sstrncpy (vl.type, type, sizeof (vl.type));
diff --git a/src/ted.c b/src/ted.c
index 8dc00e5a161ad928883b086d100a451e48d1db6f..bf519bbee53ec38c34ddae669c707523e2fbf617 100644 (file)
--- a/src/ted.c
+++ b/src/ted.c
values[0].gauge = value;
- vl.time = time (NULL);
vl.values = values;
vl.values_len = 1;
sstrncpy (vl.host, hostname_g, sizeof (vl.host));