summaryrefslogtreecommitdiff
path: root/epgsearchext.c
diff options
context:
space:
mode:
Diffstat (limited to 'epgsearchext.c')
-rw-r--r--epgsearchext.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/epgsearchext.c b/epgsearchext.c
index 3a56a9e..06d7c3d 100644
--- a/epgsearchext.c
+++ b/epgsearchext.c
@@ -1369,12 +1369,13 @@ void cSearchExt::DeleteAllTimers()
};
}
-cTimerObjList* cSearchExt::GetTimerList(const cTimers* vdrtimers, cTimerObjList* timerList)
+cTimerObjList* cSearchExt::GetTimerList(cTimerObjList* timerList)
{
if (!timerList)
timerList = new cTimerObjList;
- for (const cTimer *ti = vdrtimers->First(); ti; ti = vdrtimers->Next(ti))
+ LOCK_TIMERS_READ;
+ for (const cTimer *ti = Timers->First(); ti; ti = Timers->Next(ti))
{
if (TriggeredFromSearchTimerID(ti) == ID)
{