X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fbind.c;h=47215c74bae0b6422d058dd5697a9d1fc180f0b6;hb=3c11483706eebaac9650a4bf051dfd665ff8ed0f;hp=6e0b907f1e89203150a554b76ea0fc93312de211;hpb=468ae3bbaa875edc0f45af7603a2c66680d6b80c;p=collectd.git diff --git a/src/bind.c b/src/bind.c index 6e0b907f..47215c74 100644 --- a/src/bind.c +++ b/src/bind.c @@ -241,7 +241,7 @@ static void submit (time_t ts, const char *plugin_instance, /* {{{ */ vl.values = values; vl.values_len = 1; - vl.time = ts; + vl.time = TIME_T_TO_CDTIME_T (ts); sstrncpy(vl.host, hostname_g, sizeof(vl.host)); sstrncpy(vl.plugin, "bind", sizeof(vl.plugin)); if (plugin_instance) {