From: Manuel CISSÉ Date: Thu, 20 Feb 2014 14:58:57 +0000 (+0100) Subject: memory plugin: fix submit multivalue (fill vl.type) X-Git-Tag: collectd-5.5.0~319 X-Git-Url: https://git.octo.it/?p=collectd.git;a=commitdiff_plain;h=19c5725693a7271ab7e4d73026da2381b2044ab3 memory plugin: fix submit multivalue (fill vl.type) --- diff --git a/src/memory.c b/src/memory.c index e8ba9348..b33c1f85 100644 --- 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));