Code

memory plugin: Bugfix: values_len is one now, not four.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Tue, 8 May 2007 20:09:37 +0000 (22:09 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Tue, 8 May 2007 20:09:37 +0000 (22:09 +0200)
src/memory.c

index 38347e31e22d28475b5e45f204e4484037159557..8830ffe60fc533717a69f44fd9148b0b7e729b9d 100644 (file)
@@ -102,7 +102,7 @@ static void memory_submit (const char *type_instance, gauge_t value)
        values[0].gauge = value;
 
        vl.values = values;
-       vl.values_len = 4;
+       vl.values_len = 1;
        vl.time = time (NULL);
        strcpy (vl.host, hostname_g);
        strcpy (vl.plugin, "memory");