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 38347e3..8830ffe 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");