Commit d4225924 authored by Ondřej Kuzník's avatar Ondřej Kuzník Committed by Ondřej Kuzník
Browse files

CLOSING is another potential state we could be in

parent 0ad91e05
......@@ -146,7 +146,8 @@ handle_bind_response( Operation *op, BerElement *ber )
}
}
} else {
assert( client->c_state == SLAP_C_INVALID );
assert( client->c_state == SLAP_C_INVALID ||
client->c_state == SLAP_C_CLOSING );
}
CONNECTION_UNLOCK(client);
......@@ -258,7 +259,7 @@ handle_vc_bind_response( Operation *op, BerElement *ber )
}
}
} else {
assert( c->c_state == SLAP_C_INVALID );
assert( c->c_state == SLAP_C_INVALID || c->c_state == SLAP_C_CLOSING );
}
CONNECTION_UNLOCK_INCREF(c);
......
Markdown is supported
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