projects
/
u
/
mdw
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
bcb1823
)
Fix a stupid sign bug in run_timers() that broke Windows Plink (and
author
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Wed, 19 Sep 2012 22:12:00 +0000
(22:12 +0000)
committer
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Wed, 19 Sep 2012 22:12:00 +0000
(22:12 +0000)
should really have broken everything else too).
git-svn-id: svn://svn.tartarus.org/sgt/putty@9674
cda61777
-01e9-0310-a592-
d414129be87e
timing.c
patch
|
blob
|
blame
|
history
diff --git
a/timing.c
b/timing.c
index
11a0305
..
ccd76cd
100644
(file)
--- 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.