X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdns.c;h=d82cbd86cc19809f7ff4180868534911a9049dc7;hb=bc7992ed0693313a2b1fe282a5bf23f1cc9f8e42;hp=c04169fec8a4809cb9e7b5516b5011e8d49a6e3a;hpb=fd9c88963b04c9e9050a952ba0f018493e8b7638;p=collectd.git diff --git a/src/dns.c b/src/dns.c index c04169fe..d82cbd86 100644 --- a/src/dns.c +++ b/src/dns.c @@ -298,7 +298,6 @@ static void submit_counter (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, "dns", sizeof (vl.plugin)); sstrncpy (vl.type, type, sizeof (vl.type)); @@ -317,7 +316,6 @@ static void submit_octets (counter_t queries, counter_t responses) vl.values = values; vl.values_len = 2; - vl.time = time (NULL); sstrncpy (vl.host, hostname_g, sizeof (vl.host)); sstrncpy (vl.plugin, "dns", sizeof (vl.plugin)); sstrncpy (vl.type, "dns_octets", sizeof (vl.type));