summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9754d84)
raw | patch | inline | side by side (parent: 9754d84)
author | Florian Forster <octo@collectd.org> | |
Wed, 12 Sep 2012 20:51:58 +0000 (22:51 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Wed, 12 Sep 2012 20:51:58 +0000 (22:51 +0200) |
src/utils_db_query.c | patch | blob | history |
diff --git a/src/utils_db_query.c b/src/utils_db_query.c
index 7d594d812a4e0bf2f0f1b9c3e936ec762f917e5a..c014daaf31e2cc2613fb7a0cf41beff51c8eb0a8 100644 (file)
--- a/src/utils_db_query.c
+++ b/src/utils_db_query.c
sstrncpy (vl.host, q_area->host, sizeof (vl.host));
sstrncpy (vl.plugin, q_area->plugin, sizeof (vl.plugin));
- sstrncpy (vl.plugin_instance, q_area->db_name, sizeof (vl.type_instance));
+ sstrncpy (vl.plugin_instance, q_area->db_name, sizeof (vl.plugin_instance));
sstrncpy (vl.type, r->type, sizeof (vl.type));
if (r->instance_prefix != NULL)
sstrncpy (vl.host, q_area->host, sizeof (vl.host));
sstrncpy (vl.plugin, q_area->plugin, sizeof (vl.plugin));
- sstrncpy (vl.plugin_instance, q_area->db_name, sizeof (vl.type_instance));
+ sstrncpy (vl.plugin_instance, q_area->db_name, sizeof (vl.plugin_instance));
sstrncpy (vl.type, r->type, sizeof (vl.type));
/* Set vl.type_instance {{{ */