mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
Fix a stupid sign bug in run_timers() that broke Windows Plink (and
should really have broken everything else too). [originally from svn r9674]
This commit is contained in:
parent
5db48dcddb
commit
a3aca31b55
4
timing.c
4
timing.c
@ -174,8 +174,8 @@ int run_timers(unsigned long anow, unsigned long *next)
|
|||||||
*/
|
*/
|
||||||
delpos234(timers, 0);
|
delpos234(timers, 0);
|
||||||
sfree(first);
|
sfree(first);
|
||||||
} else if (now - first->when_set - 10 >
|
} else if (now - (first->when_set - 10) >
|
||||||
first->now - first->when_set - 10) {
|
first->now - (first->when_set - 10)) {
|
||||||
/*
|
/*
|
||||||
* This timer is active and has reached its running
|
* This timer is active and has reached its running
|
||||||
* time. Run it.
|
* time. Run it.
|
||||||
|
Loading…
Reference in New Issue
Block a user