Code

libcollectdclient: Check if the file handle is valid before writing to it.
[collectd.git] / src / rrdcached.c
index f9d65ca55c45cf3f06ed44fb295f438afba9b5bc..31c6352411fc4481deb584f37e9f07c59bf321e2 100644 (file)
@@ -221,7 +221,6 @@ static int rc_read (void)
 
   vl.values = values;
   vl.values_len = 1;
-  vl.time = time (NULL);
 
   if ((strncmp ("unix:", daemon_address, strlen ("unix:")) == 0)
       || (daemon_address[0] == '/'))