diff --git a/include/ldap.h b/include/ldap.h index b655abdc18..2740ccdebc 100644 --- a/include/ldap.h +++ b/include/ldap.h @@ -95,7 +95,8 @@ LDAP_BEGIN_DECL /* 0x16 - 0x2f not defined by current draft */ #define LDAP_OPT_HOST_NAME 0x0030 -#define LDAP_OPT_ERROR_NUMBER 0x0031 +#define LDAP_OPT_RESULT_CODE 0x0031 +#define LDAP_OPT_ERROR_NUMBER LDAP_OPT_RESULT_CODE #define LDAP_OPT_ERROR_STRING 0x0032 #define LDAP_OPT_MATCHED_DN 0x0033