On Wed, 2014-04-23 at 16:53 +0200, Jakub Hrozek wrote:
On Tue, Apr 22, 2014 at 08:38:46AM -0400, Simo Sorce wrote:
> > + for (nextra = 0; extra_attrs[nextra]; nextra++) ;
> > + DEBUG(SSSDBG_FUNC_DATA, "%zu extra attributes\n", nextra);
>
> (aside: is this really worth here, you can print it after the next loop
> as nextra = i; at less cost)
Sorry, I'm not sure what you mean here, do you just want to move the
DEBUG message? The nextra variable is needed to realloc the map to be
larger.
I am blind :-)
Simo.
--
Simo Sorce * Red Hat, Inc * New York