mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
mqtt: coverity: help coverity see we wont have an mqtt role wsi without mqtt member allocated
This commit is contained in:
parent
bae99f63a3
commit
599d318ab8
1 changed files with 3 additions and 0 deletions
|
@ -313,6 +313,9 @@ rops_handle_POLLOUT_mqtt(struct lws *wsi)
|
|||
return LWS_HP_RET_DROP_POLLOUT;
|
||||
}
|
||||
|
||||
if (!wsi->mqtt)
|
||||
return LWS_HP_RET_BAIL_DIE;
|
||||
|
||||
lws_wsi_mux_dump_waiting_children(wsi);
|
||||
|
||||
do {
|
||||
|
|
Loading…
Add table
Reference in a new issue