Change LDAP.ld_lberoptions to `short', to realign with BerElement.ber_options

This commit is contained in:
Hallvard Furuseth 1999-03-05 01:20:55 +00:00
parent 61174d1960
commit a2ee841121
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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 */