projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Introduce two global variables: `hostname_g' and `interval_g'.
[collectd.git]
/
src
/
mbmon.c
diff --git
a/src/mbmon.c
b/src/mbmon.c
index
0d9cd16
..
e03f2f9
100644
(file)
--- a/
src/mbmon.c
+++ b/
src/mbmon.c
@@
-252,7
+252,7
@@
static void mbmon_submit (const char *type, const char *type_instance,
vl.values = values;
vl.values_len = 1;
vl.time = time (NULL);
- strcpy (vl.host, hostname);
+ strcpy (vl.host, hostname
_g
);
strcpy (vl.plugin, "mbmon");
strncpy (vl.type_instance, type_instance, sizeof (vl.type_instance));