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];