summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--switchtimer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/switchtimer.c b/switchtimer.c
index 12dfac1..20c017b 100644
--- a/switchtimer.c
+++ b/switchtimer.c
@@ -157,7 +157,7 @@ bool cSwitchTimer::Save(FILE *f)
cSwitchTimer* cSwitchTimers::InSwitchList(const cEvent* event)
{
- if (!event) return false;
+ if (!event) return NULL;
cMutexLock SwitchTimersLock(this);
cSwitchTimer* switchTimer = SwitchTimers.First();
while (switchTimer)