tls: fix app_worker_connect_notify param error

Type: fix
Signed-off-by: yedongggang <yedg@wangsu.com>
Change-Id: I5ec690e71fa9119a7bf1cfcb6e36263aa732eff0
This commit is contained in:
yedg
2021-03-28 06:33:00 +08:00
committed by Florin Coras
parent d4a907bdd2
commit a840db21e8

View File

@ -522,7 +522,7 @@ tls_session_connected_cb (u32 tls_app_index, u32 ho_ctx_index,
app_wrk = app_worker_get_if_valid (ho_ctx->parent_app_wrk_index);
if (app_wrk)
{
api_context = ho_ctx->c_s_index;
api_context = ho_ctx->parent_app_api_context;
app_worker_connect_notify (app_wrk, 0, err, api_context);
}
tls_ctx_half_open_reader_unlock ();