mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
coverity: 62181: remove needless wsi check
This commit is contained in:
parent
d5497d5f55
commit
84a8ada0fd
1 changed files with 2 additions and 2 deletions
|
@ -185,8 +185,8 @@ callback_sspc_client(struct lws *wsi, enum lws_callback_reasons reason,
|
|||
return -1;
|
||||
}
|
||||
|
||||
if (wsi && (h->state == LPCSCLI_LOCAL_CONNECTED ||
|
||||
h->state == LPCSCLI_ONWARD_CONNECT))
|
||||
if (h->state == LPCSCLI_LOCAL_CONNECTED ||
|
||||
h->state == LPCSCLI_ONWARD_CONNECT)
|
||||
lws_set_timeout(wsi, 0, 0);
|
||||
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue