X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fusers.c;h=b605ff84c9d7ab98cfb8abbd762b8d30207882fe;hb=2dfe59bc808f1b58226c752511318ebe9f78e34e;hp=d0bd63cdb540ef2bc8d5e145e386f2590e604ef7;hpb=d9ba7e3ed5d93e9abd34f961fff51676a096ac02;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)