forked from soccera/rdo
Don't multiply session_ttl by 100
This commit is contained in:
parent
c80be89ef9
commit
e1147f4c7c
1 changed files with 1 additions and 1 deletions
2
rdo.c
2
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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue