[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: anna: Isn't this code buggy?



Am So, den 12.10.2003 schrieb Goswin von Brederlow um 14:00:

> 	for (j = 0; retrievers_after[i]; i++)

> I notice two things:
> 
> 1. The indentation suggests a missing {} for the first loop
> 2. The second loop might want to test "retrievers_after[j]"
3. The second loop might want to increment j, not i.

Must have slipped in with the libd-i transition, fixed in cvs
(untested).

Sebastian

-- 
PGP-Key: http://www.mmweg.rwth-aachen.de/~sebastian.ley/public.key
Fingerprint: A46A 753F AEDC 2C01 BE6E  F6DB 97E0 3309 9FD6 E3E6




Reply to: