src/plugin.[ch]: Change the "time" member to "cdtime_t".
[collectd.git] / src / mysql.c
index a01bbe4..1ca3b48 100644 (file)
@@ -485,7 +485,7 @@ static int mysql_read_slave_stats (mysql_database_t *db, MYSQL *con)
 
        if (db->slave_notif)
        {
-               notification_t n = { 0, time (NULL), "", "",
+               notification_t n = { 0, cdtime (), "", "",
                        "mysql", "", "time_offset", "", NULL };
 
                char *io, *sql;