X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fdaemon%2Fcollectd.c;h=4df11bcf8f8491e732bd654e7443ad919a594a65;hp=791199ffb6302a8968749a23bedb677cd1d93f12;hb=065dbc0d449f7b0e8986635db0f9c481de64789d;hpb=31ccd1103fadf7d1a6109252ca24f1ecb4d704ed diff --git a/src/daemon/collectd.c b/src/daemon/collectd.c index 791199ff..4df11bcf 100644 --- a/src/daemon/collectd.c +++ b/src/daemon/collectd.c @@ -86,7 +86,6 @@ static int init_hostname(void) { hostname_len = NI_MAXHOST; } char hostname[hostname_len]; - hostname_set(hostname); str = global_option_get("Hostname"); if ((str != NULL) && (str[0] != 0)) {