mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-07 23:51:21 -05:00
make ldap.ld_lberoptions unsigned, like berelement.ber_options
This commit is contained in:
parent
30b3958f94
commit
cde93a6e06
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue