X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fapcups.c;h=a0629d5f6ae0a87e13b08f1e53f6d69b0c1a85f3;hb=0a73779531039d715e8ca405658c65ba03fad408;hp=ca026b9689907f49f7227c3ae612b54e4ff4cfef;hpb=e628f39838a67b40d52dfb8425b4d8474fbd0550;p=collectd.git diff --git a/src/apcups.c b/src/apcups.c index ca026b96..a0629d5f 100644 --- a/src/apcups.c +++ b/src/apcups.c @@ -1,10 +1,9 @@ /* * collectd - src/apcups.c - * Copyright (C) 2007 Florian octo Forster - * Copyright (C) 2006 Anthony Gialluca - * Copyright (C) 2000-2004 Kern Sibbald - * Copyright (C) 1996-99 Andre M. Hedrick - * + * Copyright (C) 2006-2007 Florian octo Forster + * Copyright (C) 2006 Anthony Gialluca + * Copyright (C) 2000-2004 Kern Sibbald + * Copyright (C) 1996-1999 Andre M. Hedrick * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General @@ -22,6 +21,7 @@ * * Authors: * Anthony Gialluca + * Florian octo Forster **/ #include "collectd.h" @@ -364,7 +364,6 @@ static void apc_submit_generic (char *type, char *type_inst, double value) vl.values = values; vl.values_len = 1; - vl.time = time (NULL); sstrncpy (vl.host, hostname_g, sizeof (vl.host)); sstrncpy (vl.plugin, "apcups", sizeof (vl.plugin)); sstrncpy (vl.plugin_instance, "", sizeof (vl.plugin_instance));