summaryrefslogtreecommitdiff
path: root/src/core/timer.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-02-16 13:18:36 +0100
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-05-25 11:56:39 -0400
commit79dccb36f3abaa2196b387712e96248197896dce (patch)
tree3aa70f2ce2c924be53e00aeb38f9187f9387cc68 /src/core/timer.c
parent2eb25bc571d6b5babe50ab116c2619e17de39ec9 (diff)
core: fix assertion check
Fixes: #2632
Diffstat (limited to 'src/core/timer.c')
-rw-r--r--src/core/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/timer.c b/src/core/timer.c
index 6f3e6a8db3..3d0bae16e5 100644
--- a/src/core/timer.c
+++ b/src/core/timer.c
@@ -334,7 +334,7 @@ static void add_random(Timer *t, usec_t *v) {
usec_t add;
assert(t);
- assert(*v);
+ assert(v);
if (t->random_usec == 0)
return;