From a29fa81a3dbf641a40b93f69b90151f70dc0290c Mon Sep 17 00:00:00 2001 From: horchi Date: Sat, 10 Mar 2018 08:19:13 +0100 Subject: added log message --- timer.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'timer.c') diff --git a/timer.c b/timer.c index 154a464..21b432c 100644 --- a/timer.c +++ b/timer.c @@ -371,7 +371,7 @@ int cUpdate::performTimerJobs() { tell(0, "Took timer (%d) for uuid 'any', event (%ld)", timerid, eventid); - // mark 'na' record as assumed and create new with my UUID in primary key + // mark 'any' record as assumed and create new with my UUID in primary key timerDb->setCharValue("ACTION", taAssumed); timerDb->setCharValue("STATE", tsIgnore); @@ -385,8 +385,10 @@ int cUpdate::performTimerJobs() // update timerid !!! + int otid = timerid; timerid = timerDb->getLastInsertId(); timerDb->setValue("ID", timerid); + tell(0, "DEBUG: Copied timer (%d/%ld) to (%d/%ld)", otid, eventid, timerid, timerDb->getIntValue("EVENTID")); } } else -- cgit v1.2.3