summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--timer.c4
1 files changed, 3 insertions, 1 deletions
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