projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
src/utils_complain: Changed c_release() into a macro.
[collectd.git]
/
src
/
xmms.c
diff --git
a/src/xmms.c
b/src/xmms.c
index
1e646d2
..
01c7e0c
100644
(file)
--- a/
src/xmms.c
+++ b/
src/xmms.c
@@
-39,8
+39,9
@@
static void cxmms_submit (const char *type, gauge_t value)
vl.time = time (NULL);
strcpy (vl.host, hostname_g);
strcpy (vl.plugin, "xmms");
+ sstrncpy (vl.type, type, sizeof (vl.type));
- plugin_dispatch_values (
type,
&vl);
+ plugin_dispatch_values (&vl);
} /* void cxmms_submit */
int cxmms_read (void)