Commit 6f44bf3e authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Add comment regarding use of LDAP_OPT_SUCCESS v. LDAP_OPT_ERROR comparisons.

parent 5f20cf1e
......@@ -138,6 +138,12 @@ LDAP_BEGIN_DECL
#define LDAP_OPT_ON ((void *) 1)
#define LDAP_OPT_OFF ((void *) 0)
* ldap_get_option() and ldap_set_option() return values.
* As later versions may return other values indicating
* failure, current applications should only compare returned
* value against LDAP_OPT_SUCCESS.
#define LDAP_OPT_ERROR (-1)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment