manager: initialize timeouts when allocating a naked Manager object
authorLennart Poettering <lennart@poettering.net>
Mon, 4 Sep 2017 16:19:07 +0000 (18:19 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 22 Sep 2017 13:24:54 +0000 (15:24 +0200)
commitbd389aa73473ee1a72a28d4612ac0e5a190cfea6
treeaa7953e26b3c353325f512be61ee1321c59b5f17
parent10bd3e2e4c21bbf74480e686b9de564a9f6d0a4e
manager: initialize timeouts when allocating a naked Manager object

This way we can safely run manager objects from tests and good timeouts
apply. Without this all timeouts are set 0, which means they fire
instantly, when run from tests which do not explicitly configure them
(the way main.c does).
src/core/manager.c