From 6accbdd431ad2e2e4d7b1568840f7566e36e024d Mon Sep 17 00:00:00 2001 From: horchi Date: Tue, 18 Aug 2020 18:13:15 +0200 Subject: 2020-08-18: version 1.1.117 (horchi)\n - addeed: compatibility to VDRs peering feature\n\n --- ttools.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ttools.c') diff --git a/ttools.c b/ttools.c index 25b2fdb..db2cf0f 100644 --- a/ttools.c +++ b/ttools.c @@ -253,8 +253,13 @@ int setTimerId(cTimer* timer, int tid) cTimer* getTimerById(cTimers* timers, int timerid) { for (cTimer* t = timers->First(); t; t = timers->Next(t)) + { + if (!t->Local()) + continue; + if (timerid == getTimerIdOf(t)) return t; + } return 0; } -- cgit v1.2.3