X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fmysql.c;h=1ca3b484ce6d2ebadc490196ed64260140c7d18c;hb=a5177bd853eedbe69d87869316093a0e9526e931;hp=a01bbe4018d3f63f973da07c3c5196f1f46e2597;hpb=d6e55d065c568b599a9c27b2540c7e0233cf2318;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;