Two minor tidies to the recent ldap.c changes.