From d90cd7be6dfccdb25ce7543f57be43a8268436c7 Mon Sep 17 00:00:00 2001 From: Yichen Gu Date: Thu, 12 Aug 2021 13:22:05 +0100 Subject: [PATCH] conmon: pass userobj to ss rx not handle --- lib/secure-streams/secure-streams.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/secure-streams/secure-streams.c b/lib/secure-streams/secure-streams.c index 00a444ce3..0815297f2 100644 --- a/lib/secure-streams/secure-streams.c +++ b/lib/secure-streams/secure-streams.c @@ -259,7 +259,7 @@ lws_conmon_ss_json(lws_ss_handle_t *h) */ if (h->info.rx) - ret = h->info.rx(h, (uint8_t *)h->conmon_json, + ret = h->info.rx(ss_to_userobj(h), (uint8_t *)h->conmon_json, (unsigned int)h->conmon_len, (int)(LWSSS_FLAG_SOM | LWSSS_FLAG_EOM | LWSSS_FLAG_PERF_JSON));