X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fnetapp.c;h=c532062645b97b2292df079e9fbd2150eb75efa0;hb=d425636110c5fb146d1f6205e2749218f3c31076;hp=e83a475388e5704ac39486a027f502accfcb352a;hpb=f7649ae4a3270efe73f55bd00ca7fb89f269b8ec;p=collectd.git diff --git a/src/netapp.c b/src/netapp.c index e83a4753..c5320626 100644 --- a/src/netapp.c +++ b/src/netapp.c @@ -633,8 +633,6 @@ static int submit_values (const char *host, /* {{{ */ if (host != NULL) sstrncpy (vl.host, host, sizeof (vl.host)); - else - sstrncpy (vl.host, hostname_g, sizeof (vl.host)); sstrncpy (vl.plugin, "netapp", sizeof (vl.plugin)); if (plugin_inst != NULL) sstrncpy (vl.plugin_instance, plugin_inst, sizeof (vl.plugin_instance));