From e1147f4c7c772737212ba0a07f8459a24578ae10 Mon Sep 17 00:00:00 2001 From: sw1tchbl4d3 Date: Fri, 16 Jul 2021 00:15:04 +0200 Subject: [PATCH] Don't multiply session_ttl by 100 --- rdo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rdo.c b/rdo.c index e91f4c0..3cfc1fa 100644 --- a/rdo.c +++ b/rdo.c @@ -65,7 +65,7 @@ int main(int argc, char** argv) { getconf(fp, "wrong_pw_sleep", wrong_pw_sleep, sizeof(wrong_pw_sleep)); getconf(fp, "session_ttl", session_ttl, sizeof(session_ttl)); sleep_ms = atoi(wrong_pw_sleep) * 1000; - ts_ttl = atoi(session_ttl) * 60 * 100; + ts_ttl = atoi(session_ttl) * 60; fclose(fp);