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
/
memory.c
diff --git
a/src/memory.c
b/src/memory.c
index
d92ecf3
..
38a6dc2
100644
(file)
--- a/
src/memory.c
+++ b/
src/memory.c
@@
-123,7
+123,7
@@
static void memory_submit (long long mem_used, long long mem_buffered,
vl.values = values;
vl.values_len = 4;
vl.time = time (NULL);
- strcpy (vl.host, hostname);
+ strcpy (vl.host, hostname
_g
);
strcpy (vl.plugin, "memory");
plugin_dispatch_values ("memory", &vl);