LDB: Patch for fixing counter variables

Matthias Dieter Wallnöfer mdw at samba.org
Mon Nov 9 08:11:50 MST 2009

Volker Lendecke wrote:
> A quick side-remark for this: I've recently figured out that
> for most arrays the explicit counter is superfluous, as we
> now have talloc_array_length().
> Volker
Ah, that would indeed be a nice method to skip those length/amount 
specification variables. But for LDB that means huge API changes which 
for sure aren't welcome.

Anyway, my patch considers the wrong-typed "i,j" counters which would 
have to be corrected also with that approach.


More information about the samba-technical mailing list