mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
conmon: pass userobj to ss rx not handle
This commit is contained in:
parent
387a406f07
commit
4c99f85a16
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,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));
|
||||
|
|
Loading…
Add table
Reference in a new issue