summaryrefslogtreecommitdiff
path: root/src/timer.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-27 00:01:12 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-27 00:01:12 +0200
commit10717a1a8d48e50463abf2f6b47e2618eaa529e7 (patch)
treed4750ea20c9b185eab67ef8f9282f4bb2229449f /src/timer.c
parent248e6030e007b6ee7b31ada6e42053cb1ebfc80d (diff)
unit: serialize active timestamps
Diffstat (limited to 'src/timer.c')
-rw-r--r--src/timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/timer.c b/src/timer.c
index 0dcaad5091..b01944ccdb 100644
--- a/src/timer.c
+++ b/src/timer.c
@@ -197,9 +197,9 @@ static void timer_enter_waiting(Timer *t, bool initial) {
switch (v->base) {
case TIMER_ACTIVE:
- if (state_translation_table[t->state] == UNIT_ACTIVE) {
+ if (state_translation_table[t->state] == UNIT_ACTIVE)
base = t->meta.inactive_exit_timestamp.monotonic;
- } else
+ else
base = n;
break;