X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fapple_sensors.c;h=bdba0ff85287745c960c1e5399d813aad2c116e2;hb=204cf4f8f68cadeac474a75584f27b7339aca4c4;hp=629633589bc0b086b3918d167090512b2bba33d2;hpb=b4d9bd23f3e04f9b42204d9954842524e2a7eb61;p=collectd.git diff --git a/src/apple_sensors.c b/src/apple_sensors.c index 62963358..bdba0ff8 100644 --- a/src/apple_sensors.c +++ b/src/apple_sensors.c @@ -87,11 +87,10 @@ static void as_submit (const char *type, const char *type_instance, vl.values = values; vl.values_len = 1; - vl.time = time (NULL); sstrncpy (vl.host, hostname_g, sizeof (vl.host)); sstrncpy (vl.plugin, "apple_sensors", sizeof (vl.plugin)); sstrncpy (vl.plugin_instance, "", sizeof (vl.plugin_instance)); - sstrncpy (vl.type, type, sizeof (vl.type)) + sstrncpy (vl.type, type, sizeof (vl.type)); sstrncpy (vl.type_instance, type_instance, sizeof (vl.type_instance)); plugin_dispatch_values (&vl);