1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-06 14:02:47 -05:00

Keepalives are now in seconds not minutes

[originally from svn r874]
This commit is contained in:
Simon Tatham
2001-01-19 09:01:50 +00:00
parent 20397a174f
commit 72cdcc611a
4 changed files with 12 additions and 5 deletions

View File

@ -1077,7 +1077,7 @@ static LRESULT CALLBACK WndProc (HWND hwnd, UINT message,
{
time_t now;
time(&now);
if (now-last_movement > cfg.ping_interval * 60 - 10)
if (now-last_movement > cfg.ping_interval)
{
back->special(TS_PING);
last_movement = now;