From: Hallvard Furuseth Date: Fri, 5 Mar 1999 01:20:55 +0000 (+0000) Subject: Change LDAP.ld_lberoptions to `short', to realign with BerElement.ber_options X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~479 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a2ee84112150c83c0edb555af31fc1409e4f3e2f;p=openldap Change LDAP.ld_lberoptions to `short', to realign with BerElement.ber_options --- diff --git a/libraries/libldap/charset.c b/libraries/libldap/charset.c index a3618923b1..5a324ed2df 100644 --- a/libraries/libldap/charset.c +++ b/libraries/libldap/charset.c @@ -39,7 +39,7 @@ ldap_set_string_translators( LDAP *ld, BERTranslateProc encode_proc, void ldap_enable_translation( LDAP *ld, LDAPMessage *entry, int enable ) { - char *optionsp; + short *optionsp; optionsp = ( entry == NULLMSG ) ? &ld->ld_lberoptions : &entry->lm_ber->ber_options; diff --git a/libraries/libldap/ldap-int.h b/libraries/libldap/ldap-int.h index 9f27a0a6a3..7cae7d94dc 100644 --- a/libraries/libldap/ldap-int.h +++ b/libraries/libldap/ldap-int.h @@ -205,7 +205,7 @@ struct ldap { char *ld_host; int ld_port; - char ld_lberoptions; + short ld_lberoptions; LDAPFiltDesc *ld_filtd; /* from getfilter for ufn searches */ char *ld_ufnprefix; /* for incomplete ufn's */