X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fmysql.c;h=1ca3b484ce6d2ebadc490196ed64260140c7d18c;hb=19066519e8b3716b48af0155e3e9113df54405b5;hp=a01bbe4018d3f63f973da07c3c5196f1f46e2597;hpb=626041ce6fa004ce49c183f35147f762a63cf302;p=collectd.git diff --git a/src/mysql.c b/src/mysql.c index a01bbe40..1ca3b484 100644 --- a/src/mysql.c +++ b/src/mysql.c @@ -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;