X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fusers.c;h=b605ff84c9d7ab98cfb8abbd762b8d30207882fe;hb=bc7992ed0693313a2b1fe282a5bf23f1cc9f8e42;hp=d0bd63cdb540ef2bc8d5e145e386f2590e604ef7;hpb=7746d34c8ecc4fa984187cf2b1a93d1b6d3a061b;p=collectd.git diff --git a/src/users.c b/src/users.c index d0bd63cd..b605ff84 100644 --- a/src/users.c +++ b/src/users.c @@ -48,11 +48,11 @@ static void users_submit (gauge_t value) vl.values = values; vl.values_len = 1; - vl.time = time (NULL); sstrncpy (vl.host, hostname_g, sizeof (vl.host)); sstrncpy (vl.plugin, "users", sizeof (vl.plugin)); + sstrncpy (vl.type, "users", sizeof (vl.plugin)); - plugin_dispatch_values ("users", &vl); + plugin_dispatch_values (&vl); } /* void users_submit */ static int users_read (void)