[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Problems with C code

--On Thursday, July 15, 2010 1:42 PM -0700 Bryan Boone <v_1bboon@yahoo.com> wrote:

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

Have you taken the time to look at the code in client/tools/*, which use this option? Your usage definitely does not match the code there.



Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
Zimbra ::  the leader in open source messaging and collaboration