diff --git a/src/daemon/collectd.c b/src/daemon/collectd.c
index 791199ffb6302a8968749a23bedb677cd1d93f12..4df11bcf8f8491e732bd654e7443ad919a594a65 100644 (file)
--- a/src/daemon/collectd.c
+++ b/src/daemon/collectd.c
hostname_len = NI_MAXHOST;
}
char hostname[hostname_len];
- hostname_set(hostname);
str = global_option_get("Hostname");
if ((str != NULL) && (str[0] != 0)) {