clang-format -style=file -i src/daemon/{collectd,configfile,globals}.c
[collectd.git] / src / daemon / collectd.c
index 2784539..dd9b12f 100644 (file)
@@ -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)) {