mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
send_ldap_controls() returns int, so fix return LBER_ERROR to -1.
This commit is contained in:
parent
81ecb0b153
commit
03c85cc68d
1 changed files with 1 additions and 1 deletions
|
|
@ -293,7 +293,7 @@ send_ldap_controls( Operation *o, BerElement *ber, LDAPControl **c )
|
|||
ber_printf( sber, "{i}", LDAP_UNWILLING_TO_PERFORM );
|
||||
|
||||
if( ber_flatten2( ber, &sorted.ldctl_value, 0 ) == -1 ) {
|
||||
return LBER_ERROR;
|
||||
return -1;
|
||||
}
|
||||
|
||||
(void) ber_free_buf( ber );
|
||||
|
|
|
|||
Loading…
Reference in a new issue