From 9290801052fed398c2e5b388f267da3c56e54b83 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Tue, 22 Jul 2003 18:19:37 +0000 Subject: [PATCH] Rename LDAP_OPT_ERROR_NUMBER to LDAP_OPT_RESULT_CODE, according to draft-ietf-ldapext-ldap-c-api-05.txt, and keep the old name as an alias. --- include/ldap.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5