X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fxmms.c;h=52beb65f8a5d21d32880f81a58be887363390873;hb=6e419a825c50f9c97471aba7d50521bfc7e19828;hp=7f3edf0a27fd762d3b18f93ff4c8f2a0a8a05a16;hpb=b42974a9e2d83e70c166cd572725a8d72bd2a1c4;p=collectd.git diff --git a/src/xmms.c b/src/xmms.c index 7f3edf0a..52beb65f 100644 --- a/src/xmms.c +++ b/src/xmms.c @@ -36,11 +36,11 @@ static void cxmms_submit (const char *type, gauge_t value) vl.values = values; vl.values_len = 1; - vl.time = time (NULL); sstrncpy (vl.host, hostname_g, sizeof (vl.host)); sstrncpy (vl.plugin, "xmms", sizeof (vl.plugin)); + sstrncpy (vl.type, type, sizeof (vl.type)); - plugin_dispatch_values (type, &vl); + plugin_dispatch_values (&vl); } /* void cxmms_submit */ int cxmms_read (void)