make ldap.ld_lberoptions unsigned, like berelement.ber_options

This commit is contained in:
Hallvard Furuseth 1999-07-18 01:20:45 +00:00
parent 30b3958f94
commit cde93a6e06
2 changed files with 2 additions and 2 deletions

View file

@ -40,7 +40,7 @@ ldap_set_string_translators( LDAP *ld, BERTranslateProc encode_proc,
void
ldap_enable_translation( LDAP *ld, LDAPMessage *entry, int enable )
{
short *optionsp;
unsigned short *optionsp;
optionsp = ( entry == NULL ) ? &ld->ld_lberoptions :
&entry->lm_ber->ber_options;

View file

@ -226,7 +226,7 @@ struct ldap {
char *ld_host;
int ld_port;
short ld_lberoptions;
unsigned short ld_lberoptions;
LDAPFiltDesc *ld_filtd; /* from getfilter for ufn searches */
char *ld_ufnprefix; /* for incomplete ufn's */