projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
204cf4f
)
memory plugin: fix submit multivalue (fill vl.type)
author
Manuel CISSÉ
<manuel_cisse@yahoo.fr>
Thu, 20 Feb 2014 14:58:57 +0000
(15:58 +0100)
committer
Manuel CISSÉ
<manuel_cisse@yahoo.fr>
Thu, 20 Feb 2014 15:33:03 +0000
(16:33 +0100)
src/memory.c
patch
|
blob
|
history
diff --git
a/src/memory.c
b/src/memory.c
index
e8ba934
..
b33c1f8
100644
(file)
--- a/
src/memory.c
+++ b/
src/memory.c
@@
-487,6
+487,7
@@
static int memory_read (void) /* {{{ */
vl.values_len = STATIC_ARRAY_SIZE (v);
sstrncpy (vl.host, hostname_g, sizeof (vl.host));
sstrncpy (vl.plugin, "memory", sizeof (vl.plugin));
+ sstrncpy (vl.type, "memory", sizeof (vl.type));
vl.time = cdtime ();
return (memory_read_internal (&vl));