From: Kurt Zeilenga Date: Fri, 4 Jan 2002 19:20:33 +0000 (+0000) Subject: Refer to ldap_get/set_option, not ld_errno X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~291 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3c415e08073da2ccbc3d7bd8fd61b9b448de0ee3;p=openldap Refer to ldap_get/set_option, not ld_errno --- diff --git a/doc/man/man3/ldap_error.3 b/doc/man/man3/ldap_error.3 index aa4b0944b4..fa083613b2 100644 --- a/doc/man/man3/ldap_error.3 +++ b/doc/man/man3/ldap_error.3 @@ -19,10 +19,15 @@ void ldap_perror( LDAP *ld, const char *s ) int ldap_result2error( LDAP *ld, LDAPMessage *res, int freeit ) .SH DESCRIPTION These routines provide interpretation of the various error codes -returned by the LDAP protocol and LDAP library routines, and assigned -to the -.I ld_errno -field in the \fIld\fP structure. +returned by the LDAP protocol and LDAP library routines or associated +with an LDAP session. The error code associated with an LDAP session +is accessible using +.BR ldap_get_option (3) +and +.BR ldap_set_option (3) +with the +.B LDAP_OPT_ERROR_NUMBER +option. .LP The .B ldap_result2error()