X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fnetapp.c;h=c532062645b97b2292df079e9fbd2150eb75efa0;hb=c210d9ec19724d829d8744b35a7426837b76982e;hp=e83a475388e5704ac39486a027f502accfcb352a;hpb=51bc7c4a5523f2b03c24e32064b28c7c8426534d;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));