X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/d719927eb175a73b13a7015498e9757010344bf5..HEAD:/timing.c diff --git a/timing.c b/timing.c index 11a03050..ccd76cd6 100644 --- a/timing.c +++ b/timing.c @@ -174,8 +174,8 @@ int run_timers(unsigned long anow, unsigned long *next) */ delpos234(timers, 0); sfree(first); - } else if (now - first->when_set - 10 > - first->now - first->when_set - 10) { + } else if (now - (first->when_set - 10) > + first->now - (first->when_set - 10)) { /* * This timer is active and has reached its running * time. Run it.