1
0
Fork 0
forked from soccera/rdo

Don't multiply session_ttl by 100

This commit is contained in:
sw1tchbl4d3 2021-07-16 00:15:04 +02:00
parent c80be89ef9
commit e1147f4c7c

2
rdo.c
View file

@ -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);