X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fnginx.c;h=7283488f5de49189c5d6c5ac9b3df0ee31be40f1;hb=1961988253c1f5b29a52343a34d291929e84fcf1;hp=3850accf05c663cce1a7f799781c4142b9b7bd80;hpb=6f4f918d4d5e70c75471632254ecb9c55fd8d62f;p=collectd.git diff --git a/src/nginx.c b/src/nginx.c index 3850accf..7283488f 100644 --- a/src/nginx.c +++ b/src/nginx.c @@ -211,9 +211,7 @@ static void submit (const char *type, const char *inst, long long value) vl.values = values; vl.values_len = STATIC_ARRAY_SIZE (values); - sstrncpy (vl.host, hostname_g, sizeof (vl.host)); sstrncpy (vl.plugin, "nginx", sizeof (vl.plugin)); - sstrncpy (vl.plugin_instance, "", sizeof (vl.plugin_instance)); sstrncpy (vl.type, type, sizeof (vl.type)); if (inst != NULL)