mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-30 00:00:16 +01:00
Restore erroneous modified assertion
This commit is contained in:
parent
8e84473e3c
commit
e0f401c0ac
1 changed files with 4 additions and 1 deletions
|
@ -623,7 +623,10 @@ lws_callback_on_writable_all_protocol_vhost(const struct lws_vhost *vhost,
|
|||
lws_dll2_get_head(&vhost->same_vh_protocol_owner[n])) {
|
||||
wsi = lws_container_of(d, struct lws, same_vh_protocol);
|
||||
|
||||
assert(wsi->a.protocol == protocol);
|
||||
assert(wsi->a.protocol &&
|
||||
wsi->a.protocol->callback == protocol->callback &&
|
||||
!strcmp(protocol->name, wsi->a.protocol->name));
|
||||
|
||||
lws_callback_on_writable(wsi);
|
||||
|
||||
} lws_end_foreach_dll_safe(d, d1);
|
||||
|
|
Loading…
Add table
Reference in a new issue