From 85f8e3a3bce708aead8645a1bcb468788a49b278 Mon Sep 17 00:00:00 2001 From: Ralf Ramsauer Date: Wed, 23 Sep 2015 15:58:28 +0200 Subject: [PATCH] Bugfix: Timeout was uninitialized --- doorlockd/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doorlockd/main.cpp b/doorlockd/main.cpp index 70b35d3..3de78e7 100644 --- a/doorlockd/main.cpp +++ b/doorlockd/main.cpp @@ -192,6 +192,8 @@ int main(int argc, char** argv) } po::notify(vm); + + tokenTimeout = std::chrono::seconds(timeout); } catch(const std::exception &e) {