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

Re: Problems with C code



Thanks man.  I am kinda a noob to C programming.  I got it to work.
 
thanks


From: Quanah Gibson-Mount <quanah@zimbra.com>
To: Bryan Boone <v_1bboon@yahoo.com>; openldap-technical@openldap.org
Sent: Fri, July 16, 2010 8:53:30 AM
Subject: 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


--

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