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
/
plugin.c
diff --git
a/src/plugin.c
b/src/plugin.c
index
1a029e4
..
852a693
100644
(file)
--- a/
src/plugin.c
+++ b/
src/plugin.c
@@
-50,8
+50,6
@@
static llist_t *list_data_set;
static char *plugindir = NULL;
-char hostname[DATA_MAX_NAME_LEN] = "localhost";
-
/*
* Static functions
*/
@@
-319,8
+317,6
@@
void plugin_init_all (void)
llentry_t *le;
int status;
- gethostname (hostname, sizeof (hostname));
-
if (list_init == NULL)
return;