X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fperl.c;h=b5965d67c2386cc826502591cb202fe8e44ddd5b;hb=bc7992ed0693313a2b1fe282a5bf23f1cc9f8e42;hp=4a76c0aa6f636d9075057c83e39b8d6b6b5c060d;hpb=ef7fec0c4e0bbbabb356e6a570ac6297ee06eb80;p=collectd.git diff --git a/src/perl.c b/src/perl.c index 4a76c0aa..b5965d67 100644 --- a/src/perl.c +++ b/src/perl.c @@ -640,9 +640,6 @@ static int pplugin_dispatch_values (pTHX_ HV *values) if (NULL != (tmp = hv_fetch (values, "time", 4, 0))) { list.time = (time_t)SvIV (*tmp); } - else { - list.time = time (NULL); - } if (NULL != (tmp = hv_fetch (values, "host", 4, 0))) { sstrncpy (list.host, SvPV_nolen (*tmp), sizeof (list.host));