Code

Many plugins and files: Convert "interval_g" and "vl->interval" to cdtime_t.
[collectd.git] / src / utils_time.c
index 31e31090e58acd05b9f779f179f7175fc22ecfd8..420b425c0bd1a2739fa398f292062867f57f3144 100644 (file)
@@ -38,7 +38,7 @@ cdtime_t cdtime (void) /* {{{ */
     return (0);
   }
 
-  return (TIMESPEC_TO_CDTIME_T (ts));
+  return (TIMESPEC_TO_CDTIME_T (&ts));
 } /* }}} cdtime_t cdtime */
 
 /* vim: set sw=2 sts=2 et fdm=marker : */