1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-12-22 18:34:25 +01:00

Bugfix: Timeout was uninitialized

This commit is contained in:
Ralf Ramsauer 2015-09-23 15:58:28 +02:00
parent 4d2bdba703
commit 85f8e3a3bc

View File

@ -192,6 +192,8 @@ int main(int argc, char** argv)
} }
po::notify(vm); po::notify(vm);
tokenTimeout = std::chrono::seconds(timeout);
} }
catch(const std::exception &e) catch(const std::exception &e)
{ {