From dc86747a4def1400f535d77eac81aaf47ebccbc3 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 13 Jul 2009 02:42:38 +0000 Subject: [PATCH] Fix typo in 1.250 fake sorted results control --- servers/slapd/result.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/result.c b/servers/slapd/result.c index 08b05e5caf..353edc9982 100644 --- a/servers/slapd/result.c +++ b/servers/slapd/result.c @@ -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; -- 2.39.5