diff --git a/src/netapp.c b/src/netapp.c
index e83a475388e5704ac39486a027f502accfcb352a..c532062645b97b2292df079e9fbd2150eb75efa0 100644 (file)
--- a/src/netapp.c
+++ b/src/netapp.c
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));