summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-02-16 13:18:36 +0100
committerLennart Poettering <lennart@poettering.net>2016-02-16 15:30:04 +0100
commit3f51aec8647fe13f4b1e46b2f75ff635403adf91 (patch)
treec713e42045c063795c9f8959829c0749f9dc4410
parent41815a4aa66c59070dc86aa99eebfa720e8a263e (diff)
core: fix assertion check
Fixes: #2632
-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;