chiark
/
gitweb
/
~mdw
/
secnet
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
d613fd7
)
poll: Avoid duplicate array index counting
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 3 Oct 2014 20:43:39 +0000
(21:43 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 6 Oct 2014 22:10:23 +0000
(23:10 +0100)
Calculate remain from idx at the top of the loop. This avoids having
to keep both remain and idx in step.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
No differences found