Additional debug messages

This commit is contained in:
loki
2020-03-16 19:15:50 +01:00
parent 92f51622cc
commit 87779b0ec8
2 changed files with 3 additions and 2 deletions

View File

@@ -188,7 +188,7 @@ void parse_file(const char *file) {
int_between_f(vars, "ping_timeout", to, {
-1, std::numeric_limits<int>::max()
});
if(to == -1) {
if(to != -1) {
stream.ping_timeout = std::chrono::milliseconds(to);
}