[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: commit: ldap/servers/slapd controls.c proto-slap.h
Hi,
Am Donnerstag 01 Juli 2010, 17:48:35 schrieb Hallvard B Furuseth:
> ralf@OpenLDAP.org writes:
> > controls.c 1.212 -> 1.213
> >
> > new call unregister_supported_control(), will be
> > needed for cn=config delete support
>
> Gcc complains about at this line:
> slap_known_controls[i++] = slap_known_controls[i];
> because you are mixing read and write of 'i'. Use
> slap_known_controls[i] = slap_known_controls[i];
> i++;
> or
> i++;
> slap_known_controls[i] = slap_known_controls[i];
Thanks for the hint. I'll change the code to a do while() loop as you
suggested in your other mail.
regards,
Ralf