Hi everyone.
 
Can someone please tell me what is wrong with this code snippet?
 
 
char **temp;
if (ldap_get_option(ld, LDAP_OPT_X_TLS_CACERTDIR, temp) != LDAP_SUCCESS)
{
    ldap_perror(ld, "ldap_get_option");
    return (1);
}