mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Fix typo in 1.250 fake sorted results control
This commit is contained in:
parent
cb594c7128
commit
dc86747a4d
@ -302,11 +302,11 @@ send_ldap_controls( Operation *o, BerElement *ber, LDAPControl **c )
|
||||
|
||||
ber_printf( sber, "{e}", LDAP_UNWILLING_TO_PERFORM );
|
||||
|
||||
if( ber_flatten2( ber, &sorted.ldctl_value, 0 ) == -1 ) {
|
||||
if( ber_flatten2( sber, &sorted.ldctl_value, 0 ) == -1 ) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
(void) ber_free_buf( ber );
|
||||
(void) ber_free_buf( sber );
|
||||
|
||||
rc = send_ldap_control( ber, &sorted );
|
||||
if( rc == -1 ) return rc;
|
||||
|
Loading…
Reference in New Issue
Block a user