Code

Merge branch 'collectd-4.4' into collectd-4.5
[collectd.git] / src / multimeter.c
index db3574605e5961f033d5648b3d9354368333f607..9c9c2c152093760db11fd2560d2f17e3c538806d 100644 (file)
@@ -223,8 +223,9 @@ static void multimeter_submit (double value)
        vl.time = time (NULL);
        sstrncpy (vl.host, hostname_g, sizeof (vl.host));
        sstrncpy (vl.plugin, "multimeter", sizeof (vl.plugin));
+       sstrncpy (vl.type, "multimeter", sizeof (vl.type));
 
-       plugin_dispatch_values ("multimeter", &vl);
+       plugin_dispatch_values (&vl);
 }
 
 static int multimeter_read (void)