From: Howard Chu Date: Mon, 13 Jul 2009 02:42:38 +0000 (+0000) Subject: Fix typo in 1.250 fake sorted results control X-Git-Tag: ACLCHECK_0~439 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dc86747a4def1400f535d77eac81aaf47ebccbc3;p=openldap Fix typo in 1.250 fake sorted results control --- 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;