mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
coverity: h->cwsi must be valid if we are handling rx on it
This commit is contained in:
parent
2d97e343a3
commit
d155970b67
1 changed files with 1 additions and 3 deletions
|
@ -1267,7 +1267,6 @@ payload_ff:
|
|||
if (++par->ctr < 4)
|
||||
break;
|
||||
|
||||
|
||||
/*
|
||||
* Client (par->temp32 == dsh alloc)
|
||||
*/
|
||||
|
@ -1334,8 +1333,7 @@ payload_ff:
|
|||
if (!h->dsh)
|
||||
goto hangup;
|
||||
|
||||
if (h->cwsi)
|
||||
lws_callback_on_writable(h->cwsi);
|
||||
lws_callback_on_writable(h->cwsi);
|
||||
|
||||
par->rsl_pos = 0;
|
||||
par->rsl_idx = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue