X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmemcachec.c;h=7c8528d500492751cd035f580000a487f42d3cb6;hb=813fadc54fbf0c9b948163851e9791a1ace716ae;hp=73faa506fb5387572ff91e4a030c6fe9e0351b3d;hpb=64c5dc9eb67132d8a943edfcd248fd161131ff3d;p=collectd.git diff --git a/src/memcachec.c b/src/memcachec.c index 73faa506..7c8528d5 100644 --- a/src/memcachec.c +++ b/src/memcachec.c @@ -452,7 +452,6 @@ static void cmc_submit (const web_page_t *wp, const web_match_t *wm, /* {{{ */ vl.values = values; vl.values_len = 1; - vl.time = time (NULL); sstrncpy (vl.host, hostname_g, sizeof (vl.host)); sstrncpy (vl.plugin, "memcachec", sizeof (vl.plugin)); sstrncpy (vl.plugin_instance, wp->instance, sizeof (vl.plugin_instance)); @@ -501,6 +500,7 @@ static int cmc_read_page (web_page_t *wp) /* {{{ */ } cmc_submit (wp, wm, mv); + match_value_reset (mv); } /* for (wm = wp->matches; wm != NULL; wm = wm->next) */ sfree (wp->buffer);