X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fnginx.c;h=3850accf05c663cce1a7f799781c4142b9b7bd80;hb=6f4f918d4d5e70c75471632254ecb9c55fd8d62f;hp=16ce3d5f6ba33d5207b0cbf44f0e0673ea539925;hpb=3d74a63ae43c1786eb9b966e2209c24c5643dae8;p=collectd.git diff --git a/src/nginx.c b/src/nginx.c index 16ce3d5f..3850accf 100644 --- a/src/nginx.c +++ b/src/nginx.c @@ -210,7 +210,7 @@ static void submit (const char *type, const char *inst, long long value) return; vl.values = values; - vl.values_len = 1; + 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));