Messages in this thread | | | Date | Mon, 5 Jan 2015 00:04:17 +0100 | From | Giel van Schijndel <> | Subject | Re: [PATCH] Fix an infinite retry-loop |
| |
On Sun, Jan 04, 2015 at 19:04:55 +0100, Giel van Schijndel wrote: > This was clearly intended as a retry-10-times loop, but due to the > absence of code incrementing the loop-counter it was practically a > retry-forever loop. > > Rewritten it as a for-loop as well to make the loop-counter increment > (as well as its potential absence) easier to spot. > ---
Forgot to: Signed-off-by: Giel van Schijndel <me@mortis.eu>
-- Met vriendelijke groet, With kind regards, Giel van Schijndel -- "A computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are, in short, a perfect match. -- Bill Bryson [unhandled content-type:application/pgp-signature] | |