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: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F559%2Fhead;p=thirdparty%2Fcollectd.git memory plugin: fix submit multivalue (fill vl.type) --- diff --git a/src/memory.c b/src/memory.c index e8ba93487..b33c1f852 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));