Commit 71de64fa authored by Ondřej Kuzník's avatar Ondřej Kuzník Committed by Quanah Gibson-Mount
Browse files

ITS#9624 Make sure we reset only for Binds

parent 7c17f061
......@@ -276,7 +276,8 @@ operation_unlink_client( LloadOperation *op, LloadConnection *client )
assert( op == removed );
client->c_n_ops_executing--;
if ( client->c_state == LLOAD_C_BINDING ) {
if ( op->o_tag == LDAP_REQ_BIND &&
client->c_state == LLOAD_C_BINDING ) {
client->c_state = LLOAD_C_READY;
if ( !BER_BVISNULL( &client->c_auth ) ) {
ber_memfree( client->c_auth.bv_val );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment